stale #5
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: | |
schedule: | |
# Run weekly on Saturdays | |
- cron: "30 1 * * 6" | |
# Run the workflow manually | |
workflow_dispatch: | |
# Declare default permissions as read-only | |
permissions: read-all | |
jobs: | |
mark-stale: | |
# Call reusable workflow file | |
uses: cisco-ospo/.github/.github/workflows/_stale.yml@main | |
permissions: | |
contents: read | |
issues: write | |
pull-requests: write | |
with: | |
days-until-stale: 60 | |
days-until-close: 7 | |
stale-label: "stale" | |
exempt-label: "keep" |