Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/pr-title.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
steps:
# Lints the PR TITLE only, which is correct: squash-merge means only
# the title lands on main.
- uses: amannn/action-semantic-pull-request@v5
- uses: amannn/action-semantic-pull-request@v6

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Check the action repository for Node.js version requirements and compatibility

# Check the action.yml or package.json in the repository to confirm Node.js version
gh api repos/amannn/action-semantic-pull-request/contents/action.yml --jq '.content' | base64 -d | grep -i "node" || echo "No Node.js version found in action.yml"

# Search for any issues related to Node.js 24 compatibility
gh search issues --repo amannn/action-semantic-pull-request "Node.js 24 OR node 24 OR nodejs 24" --limit 5 --json title,url,state | jq -r '.[] | "\(.state | ascii_upcase): \(.title)\n  \(.url)"'

Repository: Oszkar/oto

Length of output: 72


🏁 Script executed:

#!/bin/bash
set -euo pipefail

# Fetch and display the relevant part of action.yml that declares the runtime (node24)
gh api repos/amannn/action-semantic-pull-request/contents/action.yml --jq '.content' | base64 -d | sed -n '1,200p' | rg -n "using:|node24|runs:" -n || true

Repository: Oszkar/oto

Length of output: 82


🌐 Web query:

GitHub Actions hosted runners Node.js 24 support date node24

💡 Result:

Node.js 24 is supported on GitHub Actions hosted runners [1][2]. The transition to making Node.js 24 the default version for JavaScript actions is scheduled for June 16, 2026 [3][1]. Key details regarding Node.js support and the migration: Migration Schedule: Beginning June 16, 2026, GitHub Actions runners will automatically begin using Node.js 24 by default for JavaScript/TypeScript actions [3][1]. Opting Out: To continue using Node.js 20 after this date, users can set the environment variable ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true in their workflow or on the runner machine [1][4]. Note that this is a temporary measure, as Node.js 20 has reached end-of-life (EOL) and will eventually be fully removed from support [1][5]. Pre-installed Versions: As of May 2026, Node.js 20 has been removed from the toolcache on GitHub-hosted runner images [5][6]. Pre-installed versions on most runner images are now Node.js 22 and Node.js 24 [5][6]. Linux ARM32 Limitation: Node.js 24 does not support Linux ARM32 [1][4]. Self-hosted runners on this architecture will not support Node.js 24 [1]. Best Practice: It is recommended to use the actions/setup-node action to explicitly define the Node.js version required by your workflow, rather than relying on the runner's default version [7][8]. This ensures consistent behavior regardless of changes to the runner environment [8].

Citations:


Pin the action SHA; Node.js 24 should be OK on GitHub-hosted runners

  • amannn/action-semantic-pull-request declares runs.using: node24, and GitHub-hosted runners already have Node.js 24 available (defaulting to it on June 16, 2026); only Linux ARM32 self-hosted runners would be impacted.
  • zizmor flags amannn/action-semantic-pull-request@v6 as unpinned—pin to a specific commit SHA instead of the mutable v6 tag.
🧰 Tools
🪛 zizmor (1.25.2)

[error] 17-17: unpinned action reference (unpinned-uses): action is not pinned to a hash (required by blanket policy)

(unpinned-uses)

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.github/workflows/pr-title.yml at line 17, Replace the mutable tag reference
to the GitHub Action in the workflow (the line using
amannn/action-semantic-pull-request@v6) with a pinned commit SHA
(amannn/action-semantic-pull-request@<commit-sha>) to avoid floating updates;
locate the uses: amannn/action-semantic-pull-request@v6 entry in the PR title
workflow and swap the tag for the specific commit SHA from the action's repo,
then run/check the workflow to confirm compatibility with Node.js 24 on
GitHub-hosted runners.

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down