Skip to content

Pin cpina/github-action-push-to-another-repository to v1.7.3's commit - #881

Merged
mmcky merged 1 commit into
mainfrom
maint/pin-cpina
Nov 25, 2026
Merged

mmcky merged 1 commit into
mainfrom
maint/pin-cpina

Conversation

@mmcky

@mmcky mmcky commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

What

Pins the notebooks sync step's third-party action, cpina/github-action-push-to-another-repository, from @main to the full commit SHA of its latest release, v1.7.3 (55306faa4ed53b815ae49e564af8cfb359d32ae2, with a # v1.7.3 comment). One line in publish.yml.

Why

That step holds QUANTECON_SERVICES_PAT, a token that can push to the .notebooks repository. 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 main now: 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.yml runs only on a publish* 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 @main runs today, that run is unchanged.

🤖 Generated with Claude Code

https://claude.ai/code/session_01WT8bMbNM8AQVCt2pfV5GGX

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
@netlify

netlify Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for taupe-gaufre-c4e660 ready!

Name Link
🔨 Latest commit 0ef6176
🔍 Latest deploy log https://app.netlify.com/projects/taupe-gaufre-c4e660/deploys/6b075e014db66fd113756c45
😎 Deploy Preview https://deploy-preview-881--taupe-gaufre-c4e660.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions

github-actions Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

@github-actions
github-actions Bot temporarily deployed to pull request November 25, 2026 22:21 Inactive
@github-actions
github-actions Bot temporarily deployed to pull request November 25, 2026 22:22 Inactive
@mmcky
mmcky merged commit 41a99c7 into main Nov 25, 2026
8 checks passed
@mmcky
mmcky deleted the maint/pin-cpina branch November 25, 2026 22:29

This branch was previously deployed

1 inactive deployment
pull request — 0ef61762 Deployed Nov 25, 2026 by github-actions[bot]
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