-
Notifications
You must be signed in to change notification settings - Fork 819
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Automatically marks PRs and issues stale (#7675)
Marks PRs and issues with the Stale tag and makes a comment on the PR and issue. In debug mode for now.
- Loading branch information
Showing
1 changed file
with
27 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,27 @@ | ||
name: Mark stale issues and pull requests | ||
|
||
on: | ||
push: | ||
paths: | ||
- .github/workflows/stale.yml | ||
schedule: | ||
- cron: "30 1 * * *" | ||
|
||
jobs: | ||
stale: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/stale@v3 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity. Marking it stale to flag it for further consideration by the community.' | ||
stale-pr-message: 'This pull request has been automatically marked as stale because it has not had recent activity. Marking it stale to flag it for further consideration by the community.' | ||
stale-issue-label: 'Stale' | ||
stale-pr-label: 'Stale' | ||
days-before-pr-stale: 90 | ||
days-before-issue-stale: 365 | ||
days-before-pr-close: -1 | ||
days-before-issue-close: -1 | ||
debug-only: true |