-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ISSUE 194] add automatic stale tag on stale PRs
- Loading branch information
Showing
1 changed file
with
21 additions
and
0 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: "Label stale PRs" | ||
on: | ||
schedule: | ||
- cron: "30 1 * * *" | ||
workflow_dispatch: | ||
|
||
jobs: | ||
stale: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
days-before-issue-stale: -1 # We don't want to address issues | ||
days-before-pr-stale: 30 | ||
days-before-issue-close: -1 # We don't want to close issues in this action | ||
days-before-pr-close: -1 # We don't want to close PR in this action | ||
stale-pr-label: stale | ||
stale-pr-message: | | ||
This PR has been automatically marked as stale because it has no activity for 30 days. | ||
Please add a comment if you want to keep the issue open. Thank you for your contributions! |