Skip to content

Address GH workflow deprecation warnings#817

Merged
agibson-godaddy merged 2 commits intorelease/6.1.3from
chore/update-gh-action-deprecations
Mar 31, 2026
Merged

Address GH workflow deprecation warnings#817
agibson-godaddy merged 2 commits intorelease/6.1.3from
chore/update-gh-action-deprecations

Conversation

@agibson-godaddy
Copy link
Copy Markdown
Contributor

@agibson-godaddy agibson-godaddy commented Mar 31, 2026

Summary

This addresses various GH workflow deprecation warnings, including:

  1. Notices about Node.js 20 actions being deprecated -- solved by upgrading the actions.
  2. Notices about set-output deprecation.

Example run with warnings: https://github.com/godaddy-wordpress/wc-plugin-framework/actions/runs/23744594999

image

QA

image

Before merge

  • I have confirmed these changes in each supported minor WooCommerce version

@agibson-godaddy agibson-godaddy self-assigned this Mar 31, 2026
@agibson-godaddy agibson-godaddy changed the title Chore/update gh action deprecations Address GH workflow deprecation warnings Mar 31, 2026
@agibson-godaddy agibson-godaddy requested a review from Copilot March 31, 2026 11:47
@agibson-godaddy agibson-godaddy mentioned this pull request Mar 31, 2026
2 tasks
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

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 updates GitHub Actions workflows to eliminate deprecation warnings by modernizing action usage (upgrading action versions) and replacing the deprecated ::set-output command with the $GITHUB_OUTPUT file mechanism.

Changes:

  • Update workflow dependencies to newer actions/* versions (checkout/cache).
  • Replace deprecated ::set-output usage with $GITHUB_OUTPUT for composer cache directory output.

Reviewed changes

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

File Description
.github/workflows/prep-release.yml Updates actions/checkout version used by the release preparation workflow.
.github/workflows/ci.yml Updates actions/checkout and actions/cache versions; replaces deprecated set-output with $GITHUB_OUTPUT.

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

@agibson-godaddy agibson-godaddy merged commit cd10bba into release/6.1.3 Mar 31, 2026
9 checks passed
@agibson-godaddy agibson-godaddy deleted the chore/update-gh-action-deprecations branch March 31, 2026 11:55
agibson-godaddy added a commit that referenced this pull request Apr 1, 2026
* Version 6.1.3

* Address GH workflow deprecation warnings (#817)

* Update action versions

* Replace deprecated set-output

* Update pull request template (#819)

* Move WeakMap initialization to PHP 8.2+ (#818)

* Move WeakMap initialization to PHP 8.2+

* Document 8.2 reasoning

* Wording tweaks

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Set release date

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Ashley Gibson <99189195+agibson-godaddy@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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