Skip to content

fix: bump default GitHub Actions to latest major versions#1451

Merged
mrgrain merged 5 commits into
cdklabs:mainfrom
zezke:chore/bump-node-actions
Apr 20, 2026
Merged

fix: bump default GitHub Actions to latest major versions#1451
mrgrain merged 5 commits into
cdklabs:mainfrom
zezke:chore/bump-node-actions

Conversation

@zezke
Copy link
Copy Markdown
Contributor

@zezke zezke commented Mar 30, 2026

Bumps the hardcoded default action versions used in generated workflows:

  • actions/checkout v4 → v6
  • actions/download-artifact v4 → v8
  • actions/upload-artifact v4 → v7
  • aws-actions/aws-cloudformation-github-deploy v1 -> v2
  • docker/login-action v3 -> v4

GitHub is deprecating Node.js 16 and 20-based actions.

This fixes #1452

@plumdog
Copy link
Copy Markdown

plumdog commented Apr 20, 2026

@zezke we've noticed this impending issue too. Really glad to see that you've spotted this and are working to fix it.

I agree that this PR applies the immediate fix needed. Would it be valuable to add something more generic, to allow users to easily override the GitHub actions versions?

@sHtev
Copy link
Copy Markdown

sHtev commented Apr 20, 2026

@zezke As well as the github built-ins the cloudformation deploy action has an update for Node 24 - see https://github.com/aws-actions/aws-cloudformation-github-deploy/blob/master/CHANGELOG.md

@mrgrain
Copy link
Copy Markdown
Contributor

mrgrain commented Apr 20, 2026

@sHtev add that one as well

@zezke Thanks for getting the ball rolling on this!

@mrgrain mrgrain changed the title chore: bump default GitHub Actions to latest major versions fix: bump default GitHub Actions to latest major versions Apr 20, 2026
@mrgrain mrgrain disabled auto-merge April 20, 2026 12:46
@mrgrain mrgrain enabled auto-merge April 20, 2026 12:49
@mrgrain mrgrain added this pull request to the merge queue Apr 20, 2026
Merged via the queue into cdklabs:main with commit 14c966b Apr 20, 2026
10 checks passed
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.

Default GitHub Actions versions are outdated

4 participants