Repository navigation
Pin cpina/github-action-push-to-another-repository to v1.7.3's commit - #881
Merged
Merged
Conversation
The notebooks sync step ran this third-party action at @main, a moving branch, while holding QUANTECON_SERVICES_PAT, a token that can push to the .notebooks repository. Pin it to the full commit SHA of its latest release, v1.7.3, which is also its main today, so nothing that runs changes. A later push to the action's main no longer reaches the token. Dependabot's weekly github-actions updates keep the pin current, by PR. See QuantEcon/workspace-lectures#58. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WT8bMbNM8AQVCt2pfV5GGX
✅ Deploy Preview for taupe-gaufre-c4e660 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
This branch was previously deployed
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
Pins the notebooks sync step's third-party action,
cpina/github-action-push-to-another-repository, from@mainto the full commit SHA of its latest release, v1.7.3 (55306faa4ed53b815ae49e564af8cfb359d32ae2, with a# v1.7.3comment). One line inpublish.yml.Why
That step holds
QUANTECON_SERVICES_PAT, a token that can push to the.notebooksrepository. At@main, whatever is pushed to the action's main branch runs with that token at our next publish. A full SHA can't be moved, so the code that runs is the code reviewed. QuantEcon/workspace-lectures#58 tracks this, and QuantEcon/actions#195's decision (2026-11-15) assigned it there.What changes at run time
Nothing today. v1.7.3's commit is also the action's
mainnow: the same code, with the same inputs. Its release fixed an OpenSSL version mismatch in the Alpine container. This repository's weekly github-actions Dependabot updates SHA pins with their version comment, so a later release arrives as a reviewable PR.Validation
publish.ymlruns only on apublish*tag, so this PR's CI doesn't reach the step. Its first run on the pin is the next publish. Because the pinned commit is the one@mainruns today, that run is unchanged.🤖 Generated with Claude Code
https://claude.ai/code/session_01WT8bMbNM8AQVCt2pfV5GGX