Repository navigation
Conversation
The weekly job pushed .ref-cache.json straight to main, and branch protection rejected the push because the required status checks never ran. Publish the refreshed cache on chore/citation-cache-refresh and open or update a pull request.
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.
What this changes
The weekly citation refresh pushed
.ref-cache.jsondirectly tomain. Branch protection rejected that push (GH006: required status checks are expected), so the refreshed cache never landed. The workflow now commits the cache onchore/citation-cache-refresh, force-updates that branch, and opens or updates a pull request intomain. An unchanged cache exits successfully and does not open a pull request.Verification
python3 tools/check-structure.pypython3 tools/check-prose.pypython3 tools/check-code.py --strictRun with Go 1.23.12, the version CI installs. The default Go 1.22 on this machine cannot compile the
itersamples inpatterns/01-design-patterns-gof/iterator.md.python3 tools/validate-refs.py --strictnpx --yes markdownlint-cli2@0.23.2.github/workflows/refresh-citations.ymlexited 0 with no findings.Unit tests from
make checkpassed. Catalogue status, discovery indexes, anddist/entries.jsonwere regenerated and matched the committed files, so none of them are in this diff.For a new or corrected entry
Not applicable. No entry changed.
Notes for reviewers
The workflow never pushes
mainand never merges. The cache commit is authored bygithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>.The pull request the workflow opens notes that pull requests created with
GITHUB_TOKENdo not trigger other workflows, so required checks may need a manual re-run or close/reopen.This diff is under
.github/workflows/. The security check stays red until a maintainer applies thesecurity-reviewedlabel.A local remote was used to exercise the branch update: an unchanged cache does not create the branch, a changed cache is one commit ahead of
mainand is force-pushed only tochore/citation-cache-refresh, and a later run replaces that branch so it stays one commit ahead of the newmaintip.