Add base_ref input to workflow_dispatch for re-syncing#7
Merged
Conversation
Allows manually triggering the sync job with a custom base ref, so deletions or changes from older commits can be re-applied. Fetches full history when a custom base_ref is provided. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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
base_refinput to theworkflow_dispatchtrigger so the sync job can compare against any commit, not justHEAD~1base_refis provided, fetches full git history (needed to reach older commits)This is needed to re-run the deletion of
Publication/aharoni_2019_allandPublication/cai_2016_shared— their wiki pages weren't deleted when PR #5 merged because the bot lacked delete permissions at the time.How to use
After merging, go to Actions → Sync citations to wiki → Run workflow and enter
2ebfd31as the base ref. This will diff against the state before PR #5 and re-detect the removals.Test plan
base_refset to2ebfd31🤖 Generated with Claude Code