Scheduled Checks #216
This file contains hidden or 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: Scheduled Checks | |
| on: | |
| schedule: | |
| - cron: 0 0 * * * # daily at 00:00 | |
| permissions: | |
| issues: write | |
| pull-requests: write | |
| jobs: | |
| stale: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Close Stale PRs | |
| uses: actions/stale@v10 | |
| with: | |
| repo-token: ${{ secrets.ORG_PAT_GITHUB }} | |
| stale-issue-message: 'Stale Issue' | |
| stale-pr-message: 'Stale Pull Request' | |
| stale-issue-label: 'Stale' | |
| stale-pr-label: 'Stale' | |
| days-before-stale: 60 | |
| debug-only: 'true' | |
| trivy: | |
| name: Trivy Code Scan | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: "./.github/actions/trivy" |