[Snyk] Fix for 1 vulnerabilities #5
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: Close new pull requests | |
on: | |
pull_request: | |
types: [opened, reopened] | |
jobs: | |
comment-and-close: | |
runs-on: ubuntu-latest | |
steps: | |
- shell: bash | |
env: | |
PR_NUMBER: ${{ github.event.pull_request.number }} | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GH_REPO: ${{ github.repository }} | |
COMMENT: > | |
This repository is no longer in use. Please re-open this | |
pull request in the agave repo: https://github.com/anza-xyz/agave | |
run: > | |
gh pr close "$PR_NUMBER" --comment "$COMMENT" |