Skip to content

Pin Docker GitHub Actions to latest stable SHAs#205

Merged
atimin merged 3 commits into
mainfrom
issue-202-pin-actions
May 8, 2026
Merged

Pin Docker GitHub Actions to latest stable SHAs#205
atimin merged 3 commits into
mainfrom
issue-202-pin-actions

Conversation

@mother-6000
Copy link
Copy Markdown
Contributor

Closes #202

Please check if the PR fulfills these requirements

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • CHANGELOG.md has been updated (for bug fixes / features / docs)

What kind of change does this PR introduce?

CI/security hardening update.

What was changed?

  • Updated pinned SHA for docker/login-action to v4.1.0 commit.
  • Updated pinned SHA for docker/metadata-action to v6.0.0 commit.
  • Updated pinned SHA for docker/build-push-action to v7.1.0 commit.
  • Kept SHA pinning style and added inline release comments for traceability.

Related issues

Does this PR introduce a breaking change?

No breaking API/runtime change in product code. CI behavior may differ only if upstream Docker actions changed between pinned releases.

Other information:

Validation run locally on this branch:

  • npm ci
  • npm run fmt:check
  • npm run lint

Copy link
Copy Markdown
Member

@atimin atimin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

update actions for node 24:

[format](https://github.com/reductstore/web-console/actions/runs/25509118591/job/74862802519#step:11:2)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
[End-to-end tests](https://github.com/reductstore/web-console/actions/runs/25509118591/job/74862866578#step:19:2)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
[Audit, lint, tests, and build](https://github.com/reductstore/web-console/actions/runs/25509118591/job/74862866522#step:17:2)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/

@mother-6000
Copy link
Copy Markdown
Contributor Author

Addressed the requested Node 24 readiness updates in CI:\n\n- upgraded to everywhere in \n- upgraded to in all Node jobs\n\nCommit: b5b2b9c\n\nPlease take another look when convenient.

@mother-6000
Copy link
Copy Markdown
Contributor Author

Addressed the requested Node 24 readiness updates in CI:

  • upgraded actions/checkout to v5 everywhere in .github/workflows/ci.yml
  • upgraded actions/setup-node to v5 in all Node jobs

Commit: b5b2b9c

Please take another look when convenient.

@mother-6000 mother-6000 requested a review from atimin May 8, 2026 13:07
@atimin atimin merged commit 99830e2 into main May 8, 2026
6 checks passed
@atimin atimin deleted the issue-202-pin-actions branch May 8, 2026 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

SSDLC mitigation: Pin third-party GitHub Actions by commit SHA

2 participants