Conversation
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>
Contributor
There was a problem hiding this comment.
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/deploymentsstart/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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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/checkoutv4 → v6aws-actions/configure-aws-credentialsv4 → v6actions/setup-javav4 → v5actions/upload-artifactv4 → v7actions/download-artifactv4 → v8Simplified the deployment workflow by removing the
bobheadxi/deploymentswrapper:build_and_deploy.ymldeploy jobdeploy.ymldo_deployinput parameter (no longer needed)deployments:writepermissionApproach
This aligns with the approach used in the calendar-import repository (commit eb6ab25), which underwent the same modernization. The removal of
bobheadxi/deploymentssimplifies 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- Removeddo_deployparameter.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