Mark stale issues/PR #958
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 3 months | |
days-before-stale: 90 | |
# Do not close issue/PR marked as stale (will be changed later) | |
days-before-close: 0 | |
stale-issue-message: 'This issue is stale because it has been open 3 months with no activity.' | |
stale-pr-message: 'This PR is stale because it has been open 3 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,P: High' | |
exempt-pr-labels: 'translations' |