Skip to content

Update deprecated GitHub Actions to versions already used in the project#6906

Merged
dlvenable merged 1 commit into
opensearch-project:mainfrom
dlvenable:bump-deprecated-action-versions
Jun 5, 2026
Merged

Update deprecated GitHub Actions to versions already used in the project#6906
dlvenable merged 1 commit into
opensearch-project:mainfrom
dlvenable:bump-deprecated-action-versions

Conversation

@dlvenable
Copy link
Copy Markdown
Member

Summary

Bumps deprecated GitHub Actions in workflow files to the highest SHA already pinned elsewhere in this repository. No new versions are introduced — every target SHA is already trusted by another workflow.

Action From To Source
actions/checkout v2 (ee0669bd…) and v4 (34e11487…) v6 (de0fac2e…) release.yml
actions/setup-node v2 (7c12f801…) v4 (49933ea5…) release.yml
actions/github-script v6 (d7906e4a…, 3a2844b7…) v8 (ed597411…) license-header-comment.yml
peter-evans/create-pull-request v4 (38e0b6e6…) v6 (c5a78066…) release.yml

The deprecated v2/v4 versions of actions/checkout, actions/setup-node@v2, and actions/github-script@v6 use Node 16 and are no longer maintained by GitHub.

Not addressed (no newer version is referenced in this repository)

These actions remain on deprecated versions but are intentionally not changed here, since the task scope was to standardize on versions already trusted in the repo:

  • codecov/codecov-action@v1 (29386c70…) in gradle.yml
  • EnricoMi/publish-unit-test-result-action@v1 (b9f6c61d…) in gradle.yml, gradle-build-src.yml, kafka-plugin-integration-tests.yml, kinesis-source-integration-tests.yml, opensearch-sink-opendistro-integration-tests.yml, opensearch-sink-opensearch-integration-tests.yml

These can be addressed separately.

Test plan

  • CI workflows run successfully on this PR
  • No behavior changes — only action SHA pins are updated

Bumps deprecated action references in workflow files to the highest
SHA already pinned elsewhere in this repository:

- actions/checkout v2/v4 -> v6 (de0fac2e)
- actions/setup-node v2 -> v4 (49933ea5)
- actions/github-script v6 -> v8 (ed597411)
- peter-evans/create-pull-request v4 -> v6 (c5a78066)

Two deprecated actions remain that have no newer version in this
project and are not changed here: codecov/codecov-action@v1 in
gradle.yml and EnricoMi/publish-unit-test-result-action@v1 in six
workflows.

Signed-off-by: David Venable <dlv@amazon.com>
@dlvenable dlvenable merged commit 4d2bc56 into opensearch-project:main Jun 5, 2026
72 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.

2 participants