Mark stale issues and pull requests #1257
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 and pull requests | |
on: | |
schedule: | |
- cron: '16 11 * * *' | |
workflow_dispatch: | |
jobs: | |
stale: | |
name: Stale check | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
pull-requests: write | |
steps: | |
# Options and descriptions: https://github.com/actions/stale/blob/main/README.md | |
- uses: actions/stale@v9 | |
id: stale | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
stale-issue-message: 'Stale issue message' | |
stale-pr-message: 'Stale pull request message' | |
stale-issue-label: 'no-issue-activity' | |
stale-pr-label: 'no-pr-activity' | |
exempt-all-milestones: 'true' | |
exempt-issue-labels: 'RFC,Review Backlog,Epic,technical debt,no-stale' | |
exempt-pr-labels: 'no-stale' | |
#debug-only: 'true' | |
- name: Print outputs | |
run: echo ${{ join(steps.stale.outputs.*, ',') }} |