Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/cifp-cycle-watch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down
Loading