Skip to content

[TT-18378] Move workflow actions to node24 releases - #8987

Merged
buraksezer merged 2 commits into
masterfrom
TT-18378-node24-actions
Nov 26, 2026
Merged

buraksezer merged 2 commits into
masterfrom
TT-18378-node24-actions

Conversation

@buraksezer

@buraksezer buraksezer commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Description

The workflows that this repo owns (not the ones gromit renders) pin node12, node16 and node20 actions, so CI prints the "Node.js 20 is deprecated" warning. This PR moves those uses: lines to the current node24 releases. Only the SHA and the version comment change.

TykTechnologies/github-actions refs that were pinned to old main SHAs now use @production, like the rest of the repo. The old SHAs still run node20 actions, and moving the production tag does not update them.

Files that gromit manages (release.yml, plugin-compiler*.yml) are not touched here. They get the same update from the gromit sync PRs (TykTechnologies/gromit#588).

Action From To
actions/checkout v4 v7.0.1
actions/create-github-app-token v1 v3.4.0
actions/download-artifact v4 v8.0.2
actions/setup-go v5 v7.1.0
actions/setup-node v4 v7.1.0
actions/setup-python v5 v7.1.0
actions/upload-artifact v4 v7.0.2
andstor/file-existence-action v3 v3.1.0
arduino/setup-task v1 v3.0.0
aws-actions/configure-aws-credentials v4 v6.3.1
github/codeql-action/analyze v2 v4.39.5
github/codeql-action/autobuild v2 v4.39.5
github/codeql-action/init v2 v4.39.5
golangci/golangci-lint-action v8 v9.3.0
hugo19941994/delete-draft-releases v1.0.0 v3.0.0
peter-evans/create-or-update-comment v3 v5.0.0
peter-evans/find-comment v2 v4.0.0
peter-evans/repository-dispatch v1 v4.0.1
shrink/actions-docker-extract v3 v4
sonarsource/sonarqube-scan-action master v8.5.1
TykTechnologies/github-actions/.github/actions/checkout-pr main production
TykTechnologies/github-actions/.github/workflows/branch-suggestion.yml main production
TykTechnologies/github-actions/.github/workflows/godoc.yml main production
TykTechnologies/github-actions/.github/workflows/release-bot.yaml main production

Upgrade notes

  • actions/create-github-app-token: the inline # zizmor: ignore[github-app] comment matches what gromit uses for the same tokens. The tokens are unchanged.
  • sonarsource/sonarqube-scan-action: the old SHA was before v6, which parses args in JS instead of Bash. args here are unquoted -D flags, so they parse the same way.
  • actions/setup-go v6 and later set GOTOOLCHAIN=local. Every go-version here is 1.26, 1.26.x or stable, which already matches go.mod (1.26.5).
  • actions/checkout v7 refuses to check out fork PR code in pull_request_target and workflow_run workflows. No workflow in this PR uses those triggers.
  • zizmor cache-poisoning: the code scanning check reports findings only on changed lines, so bumping the version surfaced two existing findings on cache steps in test/lint jobs. The cache was already on before this PR (setup-go v5 caches by default). Both lines get an inline # zizmor: ignore[cache-poisoning]; the rule stays on elsewhere.

Not in this PR

  • probelabs/visor in visor.yaml has no node24 release.

Related Issue

TT-18378

How This Has Been Tested

  • Each target SHA matches its release tag and declares using: node24.
  • Every with: input passed to a changed action exists in the new action.yml.
  • actionlint: same 44 findings before and after.
  • zizmor 1.29.0: 92 findings before, 83 after, no new ones.
  • This PR's CI runs the changed jobs in ci-tests.yml, codeql-analysis.yml, lint-swagger.yml and lint.yml.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Refactoring or add test (improvements in base code or adds test coverage to functionality)

🤖 Generated with Claude Code

Ticket Details

TT-18378
Status In Dev
Summary Remove warnings about deprecated Node.js 20

Generated at: 2026-11-26 11:27:23

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@buraksezer
buraksezer requested a review from a team as a code owner November 26, 2026 10:21
@probelabs

probelabs Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

This pull request updates numerous GitHub Actions across 11 workflow files to use versions that run on Node.js 24. This change addresses deprecation warnings for older Node.js runtimes (v12, v16, v20) that were appearing in CI logs. In addition to version bumps for standard actions like actions/checkout and actions/setup-go, reusable workflows from the TykTechnologies/github-actions repository are now pinned to the @production tag instead of specific commit SHAs.

Files Changed Analysis

The modifications are confined to 11 YAML files within the .github/ directory, impacting the repository's CI/CD pipelines. The changes are consistent, involving a one-to-one replacement of uses: directives to reference newer action versions, reflected by the 51 additions and 51 deletions.

Architecture & Impact Assessment

  • What this PR accomplishes: It modernizes the CI/CD infrastructure by migrating all repository-owned workflow actions to Node.js 24, ensuring the long-term stability and support of the CI pipelines while eliminating deprecation warnings.
  • Key technical changes introduced: The primary change is the version update of over a dozen unique GitHub Actions. A notable secondary change is the switch from pinning internal reusable workflows to specific commit SHAs to using the mutable @production tag.
  • Affected system components: The impact is limited to the CI/CD environment. Workflows for continuous integration testing, linting, security analysis (CodeQL, SonarQube), and release automation are affected. There is no impact on the application's runtime code.

Scope Discovery & Context Expansion

The changes span a wide array of the repository's automated processes, indicating a comprehensive effort to maintain the health of the CI system. The author has correctly scoped the changes to repository-owned workflows, excluding those managed by the external gromit tool. The shift to using the @production tag for internal actions is a key point for review, as it trades the immutability of SHA-pinning for easier consumption of updates, which introduces a potential risk of CI instability if breaking changes are pushed to that tag.

Metadata
  • Review Effort: 2 / 5
  • Primary Label: chore

Powered by Visor from Probelabs

Last updated: 2026-11-26T11:30:31.635Z | Triggered by: pr_updated | Commit: 0497e3f

💡 TIP: You can chat with Visor using /visor ask <your question>

@probelabs

probelabs Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

✅ Architecture Check Passed

No architecture issues found – changes LGTM.

✅ Performance Check Passed

No performance issues found – changes LGTM.

\n\n

✅ Architecture Check Passed

No architecture issues found – changes LGTM.

\n\n

✅ Performance Check Passed

No performance issues found – changes LGTM.

\n\n

Quality Issues (1)

Severity Location Issue
🟡 Warning .github/workflows/ci-tests.yml:49
The reusable workflow `TykTechnologies/github-actions/.github/actions/checkout-pr` is pinned to the mutable tag `@production`. This can introduce unexpected changes or breakages into the CI pipeline if the tag is updated with a breaking change in the source repository. This pattern is repeated for other reusable workflows from `TykTechnologies/github-actions` in files like `intelligent-branch-recomendations.yml`, `lint-swagger.yml`, `lint.yml`, and `release-bot.yaml`.
💡 SuggestionFor greater build stability and reproducibility, pin the reusable workflow to an immutable reference, such as a specific version tag (e.g., `@v1.2.3`) or a full commit SHA. This ensures that the workflow will not change unexpectedly.

Powered by Visor from Probelabs

Last updated: 2026-11-26T11:30:30.237Z | Triggered by: pr_updated | Commit: 0497e3f

💡 TIP: You can chat with Visor using /visor ask <your question>

@github-actions

github-actions Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

zizmor findings

Severity Count
High 13
Medium 46
Low 16
Info 24

Full details are in the workflow run.

Comment thread .github/workflows/ci-tests.yml Fixed
Comment thread .github/workflows/ci-tests.yml Fixed
@github-actions

Copy link
Copy Markdown
Contributor

API Changes

no api changes detected

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sentinelone-cnapp-eu1

Copy link
Copy Markdown

SentinelOne CNS Hardcoded Secret Detector
✅ Congratulations, your code is safe

SentinelOne CNS is a cloud-agnostic, agentless CSPM & CWPP solution that continuously detects and prevents vulnerabilities that have the highest probability of being exploited in Azure, AWS, Google Cloud, and Kubernetes.

@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud

@rafalgolarz rafalgolarz left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Looks good: workflow actions move to node24 releases pinned by SHA and internal actions to @production (allowed by zizmor.yml), matches TT-18378, required checks pass. The drift-check failure is the gromit-managed files waiting for the gromit sync. [head 0497e3f]

@buraksezer
buraksezer merged commit 3c14c7d into master Nov 26, 2026
67 of 71 checks passed
@buraksezer
buraksezer deleted the TT-18378-node24-actions branch November 26, 2026 13:55
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.

3 participants