ci: auto-trigger update-film-data PR when content is stale - #88
Merged
Conversation
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
force-pushed
the
automate/trigger-film-data-pr
branch
from
August 17, 2026 23:37
19c871f to
cda2c81
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
update_film_data.pymanually and open a PR by hand.update-film-data.ymlworkflow (workflow_dispatchis exempt from GitHub'sGITHUB_TOKENrecursion guard, unlikeissues/push), which runs the script and opens the PR itself — skipping if one's already open.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
content-freshness.ymlviaworkflow_dispatch(data is currently stale — see Asciimation content is out of date #85) and confirm it triggersupdate-film-data.yml, which opens a PR assigned to modem7update-film-data.yml)