diff --git a/.github/workflows/cifp-cycle-watch.yml b/.github/workflows/cifp-cycle-watch.yml index e0b9d5d..536f309 100644 --- a/.github/workflows/cifp-cycle-watch.yml +++ b/.github/workflows/cifp-cycle-watch.yml @@ -6,7 +6,9 @@ name: CIFP Cycle Watch on: schedule: - - cron: "0 16 * * *" + # Mondays. The FAA posts a cycle about three weeks ahead, so a weekly poll finds it within a week + # and still has two weeks of margin before the overdue alert. + - cron: "0 16 * * 1" workflow_dispatch: inputs: cycle: @@ -124,7 +126,7 @@ jobs: # Publication runs about three weeks ahead, so a cycle still missing two weeks out means # the FAA slipped or the URL shape changed - either of which otherwise looks like an - # ordinary quiet day. A hand-requested cycle is exempt: asking for an expired one is fair. + # ordinary quiet poll. A hand-requested cycle is exempt: asking for an expired one is fair. if [ "$available" != "true" ] && [ "$days_out" -le 14 ] && [ -z "$REQUESTED" ]; then overdue=true else @@ -329,7 +331,7 @@ jobs: - name: Upload the report # Uploaded before anything reads it, and on failure too: this artifact is also the record - # that the cycle was checked, so a broken cycle is reported once rather than every day. + # that the cycle was checked, so a broken cycle is reported once rather than on every poll. if: always() && steps.parse.outcome != 'skipped' uses: actions/upload-artifact@v7.0.2 with: