ci: Updated board workflow to use new graphql calls to add items to project board #442
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update Snyk Vulnerability PRs | |
on: | |
pull_request: | |
types: | |
- opened | |
- reopened | |
jobs: | |
update-snyk-pr: | |
permissions: | |
pull-requests: write | |
runs-on: ubuntu-latest | |
if: ${{ github.event.sender.login == 'snyk-bot' }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js LTS | |
uses: actions/setup-node@v4 | |
with: | |
node-version: lts/* | |
- name: Install Dependencies | |
run: npm install | |
- name: Update Snyk PR Title | |
run: node ./bin/update-snyk-pr.js' | |
env: | |
RELEASE_REPO: node-newrelic | |
RELEASE_ORG: newrelic | |
SNYK_PR_ID: ${{ github.event.number }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |