stale #1216
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
name: "stale" | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 0 * * *" | |
jobs: | |
stale: | |
runs-on: ubuntu-24.04 | |
timeout-minutes: 3 | |
steps: | |
- uses: actions/stale@v9.0.0 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
# enable issue | |
stale-issue-message: "This issue is stale because it has been open 1 days with no activity. Remove stale label or comment or this will be closed in 7 days." | |
# enable pr | |
stale-pr-message: "This PR is stale because it has been open 1 days with no activity. Remove stale label or comment or this will be closed in 7 days." | |
days-before-stale: 30 | |
days-before-close: 30 | |
exempt-issue-labels: "no-stale" | |
exempt-pr-labels: "no-stale" | |
remove-stale-when-updated: true |