Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
37ee04c
CI: Remove obsolete React Native mobile workflows
desrosj Sep 15, 2026
baaac10
CI: Remove trunk-only Storybook workflow
desrosj Sep 15, 2026
977ae30
CI: Remove trunk-only changelog verification workflows
desrosj Sep 15, 2026
61317ae
CI: Remove trunk-only WordPress.org plugin repo publishing workflow
desrosj Sep 15, 2026
65c955b
CI: Remove trunk-only issue management workflow
desrosj Sep 15, 2026
7b23319
Keep `pull-request-automation.yml`: `pull_request_target` has no bran…
desrosj Sep 15, 2026
773c5e0
CI: Remove trunk-oriented PHP backport detection workflow
desrosj Sep 21, 2026
4500b24
Disable npm caching in workflows that publish built assets.
desrosj Sep 22, 2026
de3234c
CI: Update `actions/checkout` to `v7.0.1`
desrosj Sep 15, 2026
532db4a
CI: Update `actions/setup-node` to `v7.0.0`
desrosj Sep 15, 2026
d5654ce
CI: Update `actions/upload-artifact` to `v7.0.1`
desrosj Sep 15, 2026
d2ef166
CI: Update `actions/cache` to `v6.1.0`
desrosj Sep 15, 2026
9a60f6a
CI: Update `ramsey/composer-install` to `v4.0.0`
desrosj Sep 15, 2026
4544cea
CI: Update `shivammathur/setup-php` to `v2.37.2`
desrosj Sep 15, 2026
82b3682
CI: Update `preactjs/compressed-size-action` to `v2.10.0`
desrosj Sep 15, 2026
010798b
Update `actions/download-artifact` to `v8.0.1`.
desrosj Sep 15, 2026
9140ac2
Pin `mheap/github-action-required-labels` by full-length SHA.
desrosj Sep 15, 2026
3b2f2e8
Update `actions/github-script` to `v9.0.0`.
desrosj Sep 15, 2026
2dca0a4
CI: Update `actions/checkout` to `v7.0.1` in `publish-npm-packages.yml`.
desrosj Sep 15, 2026
3be8108
CI: Update `actions/setup-node` to `v7.0.0` in `publish-npm-packages.…
desrosj Sep 15, 2026
6f70b94
Bump `actions/upload-artifact/merge` to `v7.0.1`.
desrosj Sep 15, 2026
4bc4fac
Fix mismatched version comments flagged by zizmor.
desrosj Sep 15, 2026
52084e6
Fix shivammathur/setup-php version comment to use the stable tag.
desrosj Sep 15, 2026
2dee0a3
Remove the `push` trigger from `pull-request-automation.yml`: its pus…
desrosj Sep 15, 2026
7077cd6
Widen push branch filters on GitHub Actions workflows
desrosj Sep 14, 2026
35bf731
Only run PR label enforcement on open pull requests.
desrosj Sep 15, 2026
a4a0c58
Remove the broken flaky-test-to-GitHub-issues reporting job from `end…
desrosj Sep 15, 2026
b2de8c7
Remove dependency used for counting available CPUs.
desrosj Sep 15, 2026
8445ee3
CI: Remove the mobile-unit-js job from unit-test.yml
desrosj Sep 21, 2026
13bfe71
Pin WordPress 6.6 for performance testing.
desrosj Sep 15, 2026
a3a439b
Compare performance with the base branch instead of trunk.
desrosj Sep 21, 2026
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
6 changes: 3 additions & 3 deletions .github/setup-node/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ runs:
using: 'composite'
steps:
- name: Use desired version of Node.js
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version-file: '.nvmrc'
node-version: ${{ inputs.node-version }}
Expand All @@ -25,7 +25,7 @@ runs:

- name: Cache node_modules
id: cache-node_modules
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: '**/node_modules'
key: node_modules-${{ runner.os }}-${{ runner.arch }}-${{ steps.node-version.outputs.NODE_VERSION }}-${{ hashFiles('package-lock.json') }}
Expand All @@ -36,7 +36,7 @@ runs:
npm ci
shell: bash
- name: Upload npm logs as an artifact on failure
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
if: failure()
with:
name: npm-logs
Expand Down
32 changes: 19 additions & 13 deletions .github/workflows/build-plugin-zip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@ name: Build Gutenberg Plugin Zip
on:
pull_request:
push:
branches: [trunk]
branches:
- trunk
- 'release/[0-9]+.[0-9]'
- 'wp/[0-9]+.[0-9]'
- wp/latest
- wp/next
workflow_dispatch:
inputs:
version:
Expand Down Expand Up @@ -69,7 +74,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
token: ${{ secrets.GUTENBERG_TOKEN }}
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
Expand Down Expand Up @@ -165,25 +170,25 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
ref: ${{ needs.bump-version.outputs.release_branch || github.ref }}
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}

- name: Use desired version of Node.js
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version-file: '.nvmrc'
check-latest: true
cache: npm
package-manager-cache: false

- name: Build Gutenberg plugin ZIP file
run: ./bin/build-plugin-zip.sh
env:
NO_CHECKS: 'true'

- name: Upload artifact
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: gutenberg-plugin
path: ./gutenberg.zip
Expand All @@ -206,7 +211,7 @@ jobs:

- name: Upload release notes artifact
if: ${{ needs.bump-version.outputs.new_version }}
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: release-notes
path: ./release-notes.txt
Expand All @@ -222,7 +227,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 2
ref: ${{ needs.bump-version.outputs.release_branch }}
Expand Down Expand Up @@ -270,12 +275,12 @@ jobs:
run: echo "version=$(echo $VERSION | cut -d / -f 3 | sed 's/-rc./ RC/' )" >> $GITHUB_OUTPUT

- name: Download Plugin Zip Artifact
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
name: gutenberg-plugin

- name: Download Release Notes Artifact
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
name: release-notes

Expand Down Expand Up @@ -311,14 +316,14 @@ jobs:
if: ${{ endsWith( needs.bump-version.outputs.new_version, '-rc.1' ) }}
steps:
- name: Checkout (for CLI)
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
path: main
ref: trunk
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}

- name: Checkout (for publishing)
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
path: publish
# Later, we switch this branch in the script that publishes packages.
Expand All @@ -333,11 +338,12 @@ jobs:
git config user.email gutenberg@wordpress.org

- name: Setup Node.js
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version-file: 'main/.nvmrc'
registry-url: 'https://registry.npmjs.org'
check-latest: true
package-manager-cache: false

- name: Publish packages to npm ("latest" dist-tag)
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/bundle-size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,19 +37,19 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 1
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}

- name: Use desired version of Node.js
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version-file: '.nvmrc'
check-latest: true
cache: npm

- uses: preactjs/compressed-size-action@f780fd104362cfce9e118f9198df2ee37d12946c # v2.6.0
- uses: preactjs/compressed-size-action@f322c295dde06a1cb7ccaef105732dd8a726d1d9 # 2.10.0
with:
repo-token: '${{ secrets.GITHUB_TOKEN }}'
pattern: '{build/**/*.min.js,build/**/*.css}'
Expand Down
61 changes: 0 additions & 61 deletions .github/workflows/check-backport-changelog.yml

This file was deleted.

68 changes: 0 additions & 68 deletions .github/workflows/check-components-changelog.yml

This file was deleted.

9 changes: 7 additions & 2 deletions .github/workflows/create-block.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@ name: Create Block
on:
pull_request:
push:
branches: [trunk, wp/latest]
branches:
- trunk
- 'release/[0-9]+.[0-9]'
- 'wp/[0-9]+.[0-9]'
- wp/latest
- wp/next

# Cancels all previous workflow runs for pull requests that have not completed.
concurrency:
Expand All @@ -24,7 +29,7 @@ jobs:
os: ['macos-latest', 'ubuntu-latest', 'windows-latest']

steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}

Expand Down
Loading
Loading