scheduled-dep-check #18
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-dep-check | |
| on: | |
| schedule: | |
| # Daily: both resolutions here are unpinned, so an upstream release can break main | |
| # between runs. Daily bounds that window at a day and attributes the failure to upstream | |
| # (a tracking issue) instead of to whichever pull request happens to run next. | |
| - cron: "0 6 * * *" # daily 06:00 UTC | |
| workflow_dispatch: {} | |
| concurrency: | |
| group: scheduled-dep-check | |
| cancel-in-progress: false | |
| jobs: | |
| checks: | |
| uses: ./.github/workflows/_checks.yml | |
| with: | |
| lowest-direct: true | |
| report-failure: | |
| needs: checks | |
| if: failure() && github.event_name == 'schedule' | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| issues: write | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Open or update tracking issue | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} | |
| run: bash .github/scripts/report-scheduled-failure.sh |