Mark stale issues/PR #1374
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: "Mark stale issues/PR" | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "30 1 * * *" | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/stale@v3 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
# Make issue/PR as stale after 6 months | |
days-before-stale: 180 | |
# Do not close issue/PR marked as stale | |
days-before-close: -1 | |
stale-issue-message: 'This issue is stale because it has been open 6 months with no activity.' | |
stale-pr-message: 'This PR is stale because it has been open 6 months with no activity.' | |
# Set the label added to issue marked as stale (leave default value) | |
# stale-issue-label: 'stale' | |
# Set the label added to the PR marked stale | |
stale-pr-label: 'stale' | |
# Labels on an issue exempted from being marked as stale | |
exempt-issue-labels: 'bug,bug (critical),p-High' | |
exempt-pr-labels: 'translations' |