-
Notifications
You must be signed in to change notification settings - Fork 812
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
46 additions
and
22 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: Issue management - remove needs feedback label | ||
|
||
on: | ||
issue_comment: | ||
types: [created] | ||
|
||
jobs: | ||
issue_comment: | ||
if: > | ||
contains(github.event.issue.labels.*.name, 'needs author feedback') && | ||
github.event.comment.user.login == github.event.issue.user.login | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Remove label | ||
env: | ||
ISSUE_NUMBER: ${{ github.event.issue.number }} | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: | | ||
gh issue edit --remove-label "needs author feedback" $ISSUE_NUMBER |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Issue management - run stale action | ||
|
||
on: | ||
schedule: | ||
# hourly at minute 23 | ||
- cron: "23 * * * *" | ||
|
||
jobs: | ||
stale: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/stale@v8 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
days-before-stale: 7 | ||
days-before-close: 7 | ||
only-labels: "needs author feedback" | ||
stale-issue-message: > | ||
This has been automatically marked as stale because it has been marked | ||
as needing author feedback and has not had any activity for 7 days. | ||
It will be closed if no further activity occurs within 7 days of this comment. | ||
stale-pr-message: > | ||
This has been automatically marked as stale because it has been marked | ||
as needing author feedback and has not had any activity for 7 days. | ||
It will be closed if no further activity occurs within 7 days of this comment. |
This file was deleted.
Oops, something went wrong.