Skip to content

ci: refresh pinned action SHAs and harden workflows#130

Merged
kelsos merged 1 commit into
rotki:mainfrom
kelsos:chore/update-pin-actions
Jun 10, 2026
Merged

ci: refresh pinned action SHAs and harden workflows#130
kelsos merged 1 commit into
rotki:mainfrom
kelsos:chore/update-pin-actions

Conversation

@kelsos

@kelsos kelsos commented Jun 10, 2026

Copy link
Copy Markdown
Member

Summary

Refreshes all GitHub Actions to their current releases (kept digest-pinned) and applies workflow hardening surfaced by zizmor.

Action pin updates

All pins verified as real commits matching their version tags.

Action From To
actions/checkout v6 v6.0.3
actions/setup-node v6 v6.4.0
crate-ci/typos v1.45.0 v1.47.2
pnpm/action-setup v5 v6.0.8
actions/upload-pages-artifact v4 v5.0.0
github/codeql-action v4 v4.36.2

Notes:

  • codeql-action: the previous # v4 comment masked a stale digest; the refreshed pin (8aad20d) is the real commit for v4.36.2.
  • upload-pages-artifact v5 is the matching half of deploy-pages v5 (already in use) — both are the node-24 / upload-artifact-v7 generation.
  • pnpm/action-setup v6 only adds pnpm v11 support; the repo's packageManager (pnpm@10.33.0) is read unchanged.

Workflow hardening

  • codeql-analysis.yml: added top-level permissions: contents: read and a concurrency: block (matching ci.yml / deploy-docs.yml).
  • Added name: to all jobs and explanatory comments on write-bearing permissions.

zizmor is clean at every persona (including --persona=pedantic).

Update GitHub Actions to current releases (still digest-pinned):
- actions/checkout v6 -> v6.0.3
- actions/setup-node v6 -> v6.4.0
- crate-ci/typos v1.45.0 -> v1.47.2
- pnpm/action-setup v5 -> v6.0.8
- actions/upload-pages-artifact v4 -> v5.0.0 (pairs with deploy-pages v5)
- github/codeql-action v4 -> v4.36.2 (previous pin was a tag-object SHA)

Harden codeql-analysis.yml with top-level permissions and concurrency,
add job names and document write permissions to satisfy zizmor pedantic.
@kelsos kelsos merged commit 12498b9 into rotki:main Jun 10, 2026
5 checks passed
@kelsos kelsos deleted the chore/update-pin-actions branch June 10, 2026 09:29
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