Skip to content

ci: auto-trigger update-film-data PR when content is stale - #88

Merged
modem7 merged 1 commit into
masterfrom
automate/trigger-film-data-pr
Aug 17, 2026
Merged

ci: auto-trigger update-film-data PR when content is stale#88
modem7 merged 1 commit into
masterfrom
automate/trigger-film-data-pr

Conversation

@modem7

@modem7 modem7 commented Aug 17, 2026

Copy link
Copy Markdown
Owner

Summary

  • The content-freshness check previously only opened a tracking issue telling someone to run update_film_data.py manually and open a PR by hand.
  • Now it also dispatches the existing update-film-data.yml workflow (workflow_dispatch is exempt from GitHub's GITHUB_TOKEN recursion guard, unlike issues/push), which runs the script and opens the PR itself — skipping if one's already open.
  • Also assign that auto-opened PR to modem7 directly, since PR creation via the default token still won't fire autoassign.yml (same root cause as Asciimation content is out of date #85/ci: auto-assign content-freshness tracking issues to modem7 #87).

Test plan

  • Manually run content-freshness.yml via workflow_dispatch (data is currently stale — see Asciimation content is out of date #85) and confirm it triggers update-film-data.yml, which opens a PR assigned to modem7
  • Confirm re-running while a PR is already open is a no-op (existing skip guard in update-film-data.yml)

Previously the scheduled content-freshness check only opened a
tracking issue instructing someone to run update_film_data.py
manually. Now it also dispatches the existing update-film-data.yml
workflow, which runs the script and opens the PR itself (skipping if
one is already open). Also assign that PR to modem7 directly, since
the same GITHUB_TOKEN recursion guard that blocked autoassign.yml on
issues (see #85, #87) applies to PRs opened this way too.
@modem7
modem7 force-pushed the automate/trigger-film-data-pr branch from 19c871f to cda2c81 Compare August 17, 2026 23:37
@modem7
modem7 merged commit 0563e4d into master Aug 17, 2026
3 checks passed
@modem7
modem7 deleted the automate/trigger-film-data-pr branch August 17, 2026 23:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant