Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
b48a1f2
CI: Remove obsolete React Native mobile workflows
desrosj Sep 14, 2026
cfc0638
CI: Remove trunk-only Storybook GitHub Pages deploy workflow.
desrosj Sep 14, 2026
7b97815
CI: Remove trunk-only changelog verification workflows
desrosj Sep 14, 2026
c61774c
CI: Remove trunk-only WordPress.org plugin repo publishing workflows
desrosj Sep 14, 2026
acda253
Remove trunk-only release automation workflow.
desrosj Sep 14, 2026
aedfb11
CI: Remove trunk-only issue management workflows
desrosj Sep 14, 2026
54fa424
Keep `pull-request-automation.yml`: `pull_request_target` has no bran…
desrosj Sep 14, 2026
16f8b13
Remove the performance tests workflow.
desrosj Oct 7, 2026
491f363
Reference trunk's reusable workflow-lint job instead of a local copy.
desrosj Sep 14, 2026
804f276
Revert unintentional change.
desrosj Sep 14, 2026
14ac51a
Remove invalid `type` for composite action input.
desrosj Sep 14, 2026
251a33d
Disable npm caching in workflows that publish built assets.
desrosj Sep 22, 2026
3de3d4f
Add a `cache` input to the `setup-node` composite action.
desrosj Oct 7, 2026
82ff4e5
CI: Update `actions/checkout` to `v7.0.1`
desrosj Sep 14, 2026
45b51de
CI: Update `actions/setup-node` to `v7.0.0`
desrosj Sep 14, 2026
98ecfd9
CI: Update `actions/upload-artifact` to `v7.0.1`
desrosj Sep 14, 2026
cb7fd54
CI: Update `actions/cache` to `v6.1.0`
desrosj Sep 14, 2026
8181481
CI: Update `ramsey/composer-install` to `4.0.0`
desrosj Sep 14, 2026
ef25b19
CI: Update `shivammathur/setup-php` to `2.37.2`
desrosj Sep 14, 2026
40c6f5f
CI: Update `preactjs/compressed-size-action` to `2.10.0`
desrosj Sep 14, 2026
a2b6342
Update `actions/download-artifact` to `v8.0.1`.
desrosj Sep 14, 2026
83dbeb3
Pin `mheap/github-action-required-labels` by full-length SHA.
desrosj Sep 14, 2026
3d712c8
Update `actions/github-script` to `v9.0.0`.
desrosj Sep 14, 2026
621cb82
Remove dependency used for counting available CPUs.
desrosj Sep 14, 2026
32182da
CI: Update `actions/checkout` to `v7.0.1` in `publish-npm-packages.yml`.
desrosj Sep 14, 2026
5d2d097
CI: Update `actions/setup-node` to `v7.0.0` in `publish-npm-packages.…
desrosj Sep 14, 2026
3e3ae92
CI: Update `actions/checkout` to `v7.0.1` in `storybook-check.yml`.
desrosj Sep 14, 2026
2b1c7ed
Restore the SimenB/github-actions-cpu-cores step in the unit-js and u…
desrosj Sep 14, 2026
7692217
Update pull-request-automation checkout to v7.0.1
Copilot Sep 14, 2026
deef04e
Widen push branch filters on GitHub Actions workflows
desrosj Sep 14, 2026
ab318ee
Remove the `push` trigger from `pull-request-automation.yml`: its pus…
desrosj Sep 14, 2026
f1a9529
Only run PR label enforcement on open pull requests.
desrosj Sep 14, 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
16 changes: 10 additions & 6 deletions .github/setup-node/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,21 @@ inputs:
node-version:
description: 'Optional. The Node.js version to use. When not specified, the version specified in .nvmrc will be used.'
required: false
type: string
cache:
description: 'Optional. Whether to restore and save the node_modules and npm caches. Set to false in workflows that publish built assets, so a poisoned cache cannot reach a release.'
required: false
default: 'true'

runs:
using: 'composite'
steps:
- name: Use desired version of Node.js
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version-file: ${{ inputs.node-version == '' && '.nvmrc' || '' }}
node-version: ${{ inputs.node-version }}
check-latest: true
cache: npm
cache: ${{ inputs.cache == 'true' && 'npm' || '' }}

- name: Get Node.js and npm version
id: node-version
Expand All @@ -25,7 +28,8 @@ runs:

- name: Cache node_modules
id: cache-node_modules
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
if: ${{ inputs.cache == 'true' }}
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 +40,7 @@ runs:
npm ci
shell: bash
- name: Upload npm logs as an artifact on failure
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
if: failure()
with:
name: npm-logs
Expand All @@ -45,7 +49,7 @@ runs:
# On cache hit, we run the post-install script to match the native `npm ci` behavior.
# An example of this is to patch `node_modules` using patch-package.
- name: Post-install
if: ${{ steps.cache-node_modules.outputs.cache-hit == 'true' }}
if: ${{ inputs.cache == 'true' && steps.cache-node_modules.outputs.cache-hit == 'true' }}
run: |
# Run the post-install script for the root project.
npm run postinstall
Expand Down
30 changes: 17 additions & 13 deletions .github/workflows/build-plugin-zip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ on:
push:
branches:
- trunk
- 'release/**'
- 'wp/**'
- 'release/[0-9]+.[0-9]'
- 'wp/[0-9]+.[0-9]'
- wp/latest
- wp/next
workflow_dispatch:
inputs:
version:
Expand Down Expand Up @@ -81,7 +83,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
token: ${{ secrets.GUTENBERG_TOKEN }}
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
Expand Down Expand Up @@ -195,25 +197,26 @@ jobs:

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

- name: Use desired version of Node.js
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version-file: '.nvmrc'
check-latest: true
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 @@ -236,7 +239,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 @@ -254,7 +257,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 2
ref: ${{ needs.bump-version.outputs.release_branch }}
Expand Down Expand Up @@ -312,12 +315,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@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
name: gutenberg-plugin

- name: Download Release Notes Artifact
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
name: release-notes

Expand Down Expand Up @@ -355,15 +358,15 @@ jobs:
if: ${{ endsWith( needs.bump-version.outputs.new_version, '-rc.1' ) }}
steps:
- name: Checkout (for CLI)
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
path: main
ref: trunk
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
persist-credentials: false

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

- name: Setup Node.js
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
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 @@ -45,20 +45,20 @@ jobs:
pull-requests: write

steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 1
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
persist-credentials: false

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

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

This file was deleted.

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

This file was deleted.

Loading
Loading