Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update _config.yml #50

Open
wants to merge 1 commit into
base: Project
Choose a base branch
from
Open

Update _config.yml #50

wants to merge 1 commit into from

Conversation

calbearox
Copy link

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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 }}

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