Skip to content

scheduled-dep-check #18

scheduled-dep-check

scheduled-dep-check #18

Workflow file for this run

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