Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 15 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Setup Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v7
with:
node-version: '24'

Expand Down Expand Up @@ -97,7 +97,7 @@ jobs:
fetch_depth: 0
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
fetch-depth: ${{ matrix.fetch_depth }}

Expand Down Expand Up @@ -158,10 +158,10 @@ jobs:
- plugin: fchub-wishlist
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Setup Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v7
with:
node-version: '24'

Expand All @@ -170,7 +170,7 @@ jobs:

- name: Upload rejected package evidence
if: failure()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Keep workflow contracts in sync with action bumps

This bump changes workflow action versions, but the repository's workflow-contract suite still hard-codes the previous pins: ci-memberships-contract.test.mjs expects actions/cache@v4, ci-wporg-contract.test.mjs expects upload-artifact@v4, and the release/wporg contract tests expect checkout@v4 / download-artifact@v4. When workflow-contract runs, node --test ... fails these assertions, so PRs touching these workflows cannot pass CI until the contract tests are updated with the new intended versions.

Useful? React with 👍 / 👎.

with:
name: wporg-package-${{ matrix.plugin }}-failure
path: |
Expand All @@ -183,7 +183,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
# `Check for changes` below diffs against the pull request base, which
# a depth-1 checkout does not contain: the diff fails, the count comes
Expand All @@ -199,7 +199,7 @@ jobs:

- name: Setup Node.js
if: steps.changes.outputs.count > 0
uses: actions/setup-node@v4
uses: actions/setup-node@v7
with:
node-version: '20'
cache: 'npm'
Expand All @@ -222,7 +222,7 @@ jobs:

- name: Cache Playwright browsers
if: steps.changes.outputs.count > 0
uses: actions/cache@v4
uses: actions/cache@v6
with:
path: ~/.cache/ms-playwright
key: ${{ runner.os }}-playwright-${{ hashFiles('plugins/fchub-memberships/package-lock.json') }}
Expand Down Expand Up @@ -264,7 +264,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
# `Check for changes` below diffs against the pull request base, which
# a depth-1 checkout does not contain: the diff fails, the count comes
Expand All @@ -280,7 +280,7 @@ jobs:

- name: Setup Node.js
if: steps.changes.outputs.count > 0
uses: actions/setup-node@v4
uses: actions/setup-node@v7
with:
node-version: '20'
cache: 'npm'
Expand Down Expand Up @@ -320,7 +320,7 @@ jobs:
# job remains because the repository asserts Stream is still here for a
# possible return, not because anything is expected to run.
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Check for changes
id: changes
Expand All @@ -330,7 +330,7 @@ jobs:

- name: Setup Node.js
if: steps.changes.outputs.count > 0
uses: actions/setup-node@v4
uses: actions/setup-node@v7
with:
node-version: '20'

Expand Down Expand Up @@ -385,10 +385,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Setup Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v7
with:
node-version: '22'

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/claude-interactive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
group: claude-interactive-${{ github.event.issue.number || github.event.pull_request.number }}
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
fetch-depth: 0

Expand All @@ -39,7 +39,7 @@ jobs:
coverage: none

- name: Setup Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v7
with:
node-version: '20'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/claude-pr-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
cancel-in-progress: true
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
fetch-depth: 0

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@ jobs:
name: Version Consistency
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- uses: actions/setup-node@v4
- uses: actions/setup-node@v7
with:
node-version: '22'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/issue-triage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Run Claude Code
uses: anthropics/claude-code-action@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/mcp-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,12 +163,12 @@ jobs:
with:
name: ${{ env.IMAGE_ARTIFACT }}
- run: docker load -i image.tar
- uses: docker/login-action@v4.5.2
- uses: docker/login-action@v4.6.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/login-action@v4.5.2
- uses: docker/login-action@v4.6.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/mcp-promote.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,12 +125,12 @@ jobs:
DOCKERHUB_ACTUAL=$(docker buildx imagetools inspect "${DOCKERHUB_IMAGE}:${VERSION}" --format '{{json .Manifest.Digest}}' | tr -d '"')
test "$GHCR_ACTUAL" = "$GHCR_EXPECTED"
test "$DOCKERHUB_ACTUAL" = "$DOCKERHUB_EXPECTED"
- uses: docker/login-action@v4.5.2
- uses: docker/login-action@v4.6.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/login-action@v4.5.2
- uses: docker/login-action@v4.6.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
is_wporg: ${{ steps.tag.outputs.is_wporg }}
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
fetch-depth: 0

Expand Down Expand Up @@ -96,12 +96,12 @@ jobs:
timeout-minutes: 30
steps:
- name: Checkout validated tag SHA
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
fetch-depth: 0

- name: Setup Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v7
with:
node-version: '24'

Expand Down Expand Up @@ -165,7 +165,7 @@ jobs:

- name: Download validated WordPress.org ZIP
if: needs.prepare.outputs.is_wporg == 'true'
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
name: wporg-package-${{ needs.prepare.outputs.slug }}
path: dist
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/wporg-release-gates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout caller tag SHA
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Validate target and version
env:
Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:
- '8.5'
steps:
- name: Checkout caller tag SHA
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand Down Expand Up @@ -95,10 +95,10 @@ jobs:
timeout-minutes: 20
steps:
- name: Checkout caller tag SHA
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Setup Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v7
with:
node-version: '24'
cache: npm
Expand Down Expand Up @@ -149,12 +149,12 @@ jobs:
- fchub-wishlist
steps:
- name: Checkout caller tag SHA
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
fetch-depth: 0

- name: Setup Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v7
with:
node-version: '24'

Expand Down Expand Up @@ -184,7 +184,7 @@ jobs:
"${{ matrix.plugin }}"

- name: Upload validated package
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: wporg-package-${{ matrix.plugin }}
path: |
Expand All @@ -196,7 +196,7 @@ jobs:

- name: Upload rejected package evidence
if: failure()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: wporg-package-${{ matrix.plugin }}-failure
path: |
Expand Down Expand Up @@ -226,10 +226,10 @@ jobs:
- '8.5'
steps:
- name: Checkout caller tag SHA
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Download validated package
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
name: wporg-package-${{ matrix.plugin }}
path: dist
Expand Down Expand Up @@ -273,7 +273,7 @@ jobs:

- name: Upload disposable gate evidence
if: failure()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: wporg-runtime-${{ matrix.plugin }}-php${{ matrix.php_version }}-failure
path: test-results/wporg/${{ matrix.plugin }}/
Expand Down
Loading