Skip to content

Conversation

@calbearox
Copy link

@calbearox calbearox commented Feb 18, 2022

name: My Node Action
on:
  - pull_request
jobs:
  my-action:
    runs-on: ubuntu-latest
    steps:
      # Check out code using git
      - uses: actions/checkout@v2
      # Install Node 12
      - uses: actions/setup-node@v1
        with:
          version: 12
      - run: npm install @octokit/action
      # Node.js script can be anywhere. A good convention is to put local GitHub Actions
      # into the `.github/actions` folder
      - run: node .github/actions/my-script.js
        env:
          GITHUB_TOKEN: ${{ secrets.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 }}
@calbearox calbearox closed this by deleting the head repository Nov 28, 2022
@calbearox calbearox reopened this Feb 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant