fix: updated agent to create a stub api when running in a worker thread #120
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@v3 | |
- name: Use Node.js LTS | |
uses: actions/setup-node@v3 | |
with: | |
node-version: lts/* | |
- name: Install Dependencies | |
run: npm ci | |
- 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 }} |