Skip to content

ci: bump GitHub Actions to current majors - #514

Merged
joeyballentine merged 1 commit into
mainfrom
ci/bump-actions-and-drop-unused-secret
Jul 31, 2026
Merged

ci: bump GitHub Actions to current majors#514
joeyballentine merged 1 commit into
mainfrom
ci/bump-actions-and-drop-unused-secret

Conversation

@joeyballentine

Copy link
Copy Markdown
Contributor

frontend.yml was pinned to checkout@v2 / setup-node@v1, whose Node 12/16 runtimes are long deprecated. Move every action to its current major:

checkout v2/v3 -> v7
setup-node v1/v3 -> v7
setup-python v4 -> v7
cache v3/v4 -> v6
configure-pages v3 -> v6
upload-pages-artifact v3 -> v5
deploy-pages v4 -> v5

Beyond the runtime bump, checkout v6 writes credentials to a separate file and v7 refuses to check out fork PR code under pull_request_target and workflow_run. Neither workflow uses those triggers, so this is defense in depth against someone adding one later.

No input changes were needed; the repo only uses fetch-depth, node-version, python-version, cache, path and key, which are all unchanged across these majors.

frontend.yml was pinned to checkout@v2 / setup-node@v1, whose Node 12/16
runtimes are long deprecated. Move every action to its current major:

  checkout              v2/v3 -> v7
  setup-node            v1/v3 -> v7
  setup-python          v4    -> v7
  cache                 v3/v4 -> v6
  configure-pages       v3    -> v6
  upload-pages-artifact v3    -> v5
  deploy-pages          v4    -> v5

Beyond the runtime bump, checkout v6 writes credentials to a separate
file and v7 refuses to check out fork PR code under pull_request_target
and workflow_run. Neither workflow uses those triggers, so this is
defense in depth against someone adding one later.

No input changes were needed; the repo only uses fetch-depth,
node-version, python-version, cache, path and key, which are all
unchanged across these majors.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@joeyballentine
joeyballentine merged commit ad00d99 into main Jul 31, 2026
4 checks passed
@joeyballentine
joeyballentine deleted the ci/bump-actions-and-drop-unused-secret branch July 31, 2026 18:53
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