Skip to content

AB#115957 Upgrade GitHub Actions to latest versions#220

Merged
buckett merged 1 commit into
masterfrom
AB#115957
Jun 17, 2026
Merged

AB#115957 Upgrade GitHub Actions to latest versions#220
buckett merged 1 commit into
masterfrom
AB#115957

Conversation

@buckett

@buckett buckett commented Jun 17, 2026

Copy link
Copy Markdown
Member

Why

GitHub Actions running on Node.js 20 are now deprecated and will be forced to Node.js 24 by June 2, 2026. This update eliminates all deprecation warnings and ensures the workflows are ready for the upcoming default runtime change.

Changes

Updated all GitHub Actions to latest versions supporting Node.js 24:

  • actions/checkout v4 → v6
  • aws-actions/configure-aws-credentials v4 → v6
  • actions/setup-java v4 → v5
  • actions/upload-artifact v4 → v7
  • actions/download-artifact v4 → v8

Simplified the deployment workflow by removing the bobheadxi/deployments wrapper:

  • Removed deployment tracking from build_and_deploy.yml deploy job
  • Removed deployment tracking from deploy.yml
  • Removed do_deploy input parameter (no longer needed)
  • Removed deployments:write permission

Approach

This aligns with the approach used in the calendar-import repository (commit eb6ab25), which underwent the same modernization. The removal of bobheadxi/deployments simplifies the deployment logic while maintaining the ability to deploy via GitHub Elastic Beanstalk action.

Files Changed

  • .github/workflows/aws_ci.yml - Updated action versions
  • .github/workflows/build.yml - Removed do_deploy parameter
  • .github/workflows/build_and_deploy.yml - Updated action versions, removed deployments wrapper
  • .github/workflows/delete_stack.yml - Updated action versions
  • .github/workflows/deploy.yml - Removed deployments wrapper
  • .github/workflows/pull_request.yml - Updated action versions

Updated all GitHub Actions to latest versions:
- actions/checkout@v4 → @v6
- aws-actions/configure-aws-credentials@v4 → @v6
- actions/setup-java@v4 → @v5
- actions/upload-artifact@v4 → @v7
- actions/download-artifact@v4 → @v8

Simplified deployment workflow:
- Removed bobheadxi/deployments wrapper from build_and_deploy.yml
- Removed bobheadxi/deployments wrapper from deploy.yml
- Removed 'do_deploy' input parameter from build_and_deploy.yml
- Removed unnecessary 'deployments:write' permission

This eliminates all Node.js 20 deprecation warnings and aligns with
the approach used in calendar-import (commit eb6ab25).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings June 17, 2026 08:15

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR modernizes the repository’s GitHub Actions workflows to avoid upcoming Node.js runtime deprecations by upgrading to newer action major versions, and it simplifies deployment workflows by removing the bobheadxi/deployments wrapper.

Changes:

  • Upgraded core GitHub Actions (checkout/setup-java/artifact) and AWS credentials action to newer major versions.
  • Removed bobheadxi/deployments start/finish steps and associated permissions/inputs (do_deploy) from deployment workflows.
  • Bumped Elastic Beanstalk deploy action to a newer version.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
.github/workflows/aws_ci.yml Bumps checkout and AWS credentials actions used for CloudFormation validation.
.github/workflows/build.yml Updates checkout action and removes do_deploy output when calling reusable workflow.
.github/workflows/build_and_deploy.yml Updates action versions; removes deployments wrapper usage and deployments:write permission.
.github/workflows/delete_stack.yml Updates AWS credentials action version (and still defines stack prefix env).
.github/workflows/deploy.yml Removes deployments wrapper and bumps beanstalk deploy action version.
.github/workflows/pull_request.yml Updates checkout/setup-java versions for PR Maven build.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 32 to +35
env:
AWS_STACK_PREFIX: ${{needs.aws-params.outputs.stack-prefix}}
steps:
- uses: aws-actions/configure-aws-credentials@v4
- uses: aws-actions/configure-aws-credentials@v6
Comment on lines 50 to +53
env:
AWS_STACK_PREFIX: ${{needs.aws-params.outputs.stack-prefix}}
steps:
- uses: aws-actions/configure-aws-credentials@v4
- uses: aws-actions/configure-aws-credentials@v6

@sebastianchristopher sebastianchristopher left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

👍

@buckett buckett merged commit 1e8bfc3 into master Jun 17, 2026
4 checks passed
@buckett buckett deleted the AB#115957 branch June 17, 2026 13:25
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