Skip to content

Commit b4270eb

Browse files
Will Hickeywen-coding
authored andcommitted
Add GHA to close new issues with a comment (solana-labs#35151)
* Add GHA to close new issues with a comment * Remove trailing whitespace
1 parent 7572f05 commit b4270eb

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Close new issues
2+
3+
on:
4+
issues:
5+
types: [opened, reopened]
6+
7+
jobs:
8+
comment-and-close:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- shell: bash
12+
env:
13+
ISSUE_NUMBER: ${{ github.event.issue.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+
issue in the agave repo: https://github.com/anza-xyz/agave
19+
run: >
20+
gh issue close "$ISSUE_NUMBER" --comment "$COMMENT"

0 commit comments

Comments
 (0)