From 0ef61762bdad641cd473761579b4dc92d63ac5c7 Mon Sep 17 00:00:00 2001 From: Matt McKay Date: Thu, 26 Nov 2026 08:52:29 +1100 Subject: [PATCH] Pin cpina/github-action-push-to-another-repository to v1.7.3's commit 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 Claude-Session: https://claude.ai/code/session_01WT8bMbNM8AQVCt2pfV5GGX --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8f47e9f4..84441545 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -124,7 +124,7 @@ jobs: cp _build/jupyter/*.ipynb _build/lecture-python-intro.notebooks ls -a _build/lecture-python-intro.notebooks - name: Commit latest notebooks to lecture-python-intro.notebooks - uses: cpina/github-action-push-to-another-repository@main + uses: cpina/github-action-push-to-another-repository@55306faa4ed53b815ae49e564af8cfb359d32ae2 # v1.7.3 env: API_TOKEN_GITHUB: ${{ secrets.QUANTECON_SERVICES_PAT }} with: