We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a780ffb commit 4b25ab2Copy full SHA for 4b25ab2
.github/workflows/close-new-pull-requests.yml
@@ -0,0 +1,20 @@
1
+name: Close new pull requests
2
+
3
+on:
4
+ pull_request:
5
+ types: [opened, reopened]
6
7
+jobs:
8
+ comment-and-close:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - shell: bash
12
+ env:
13
+ PR_NUMBER: ${{ github.event.pull_request.number }}
14
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15
+ GH_REPO: ${{ github.repository }}
16
+ COMMENT: >
17
+ This repository is no longer in use. Please re-open this
18
+ pull request in the agave repo: https://github.com/anza-xyz/agave
19
+ run: >
20
+ gh pr close "$PR_NUMBER" --comment "$COMMENT"
0 commit comments