forked from reactplay/react-play
-
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.
Fix reactplay#770 ✨ [Feature request]: Close Stale Issues and PRs wor…
…kflow (reactplay#771) * Fix reactplay#770 ✨ [Feature request]: Close Stale Issues and PRs * Update greeting message with stale marking
- Loading branch information
1 parent
b67a543
commit fcf6a9d
Showing
2 changed files
with
40 additions
and
5 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
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,33 @@ | ||
--- | ||
name: Stale Issue And PR | ||
|
||
on: | ||
schedule: | ||
- cron: '0 12 * * *' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
stale: | ||
name: 🧹 Clean up stale issues and PRs | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 🚀 Stale Issue And PR | ||
uses: actions/stale@v6 | ||
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, and in order to prioritize active issues, it will be | ||
marked as stale. 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 👍 Because this issue is marked as stale, it will be closed and | ||
locked in 7 days if no further activity occurs. Thank you for your contributions! | ||
stale-pr-label: 'stale' | ||
exempt-pr-labels: 'no-stale' | ||
stale-pr-message: > | ||
There hasn't been any activity on this pull request recently, and in order to prioritize active work, it has | ||
been marked as stale. This PR will be closed and locked in 7 days if no further activity occurs. Thank you | ||
for your contributions! |