-
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.
- Loading branch information
Showing
1 changed file
with
5 additions
and
33 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 |
---|---|---|
|
@@ -8,40 +8,12 @@ on: | |
workflow_call: | ||
workflow_dispatch: | ||
|
||
|
||
permissions: | ||
contents: write # only for delete-branch option | ||
issues: write | ||
pull-requests: write | ||
|
||
jobs: | ||
stale: | ||
name: 🧹 Clean up stale issues and PRs | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write # only for delete-branch option | ||
issues: write | ||
pull-requests: write | ||
steps: | ||
- name: 🚀 Run stale | ||
uses: actions/[email protected] | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
days-before-stale: 30 | ||
days-before-close: 7 | ||
remove-stale-when-updated: true | ||
stale-issue-label: "stale" | ||
exempt-issue-labels: "no-stale,help-wanted" | ||
stale-issue-message: > | ||
There hasn't been any activity on this issue recently, so we | ||
clean up some of the older and inactive issues. | ||
Please make sure to update to the latest version and | ||
check if that solves the issue. Let us know if that works for you | ||
by leaving a comment 👍 | ||
This issue has now been marked as stale and will be closed if no | ||
further activity occurs. Thanks! | ||
stale-pr-label: "stale" | ||
exempt-pr-labels: "no-stale" | ||
stale-pr-message: > | ||
There hasn't been any activity on this pull request recently. This | ||
pull request has been automatically marked as stale because of that | ||
and will be closed if no further activity occurs within 7 days. | ||
Thank you for your contributions. | ||
- uses: ivuorinen/actions/stale@main |