From d88a0512a84f4e89f0431671173eef2081af0342 Mon Sep 17 00:00:00 2001 From: Ella Date: Tue, 18 Jun 2024 10:56:29 +0300 Subject: [PATCH 1/4] Do not run changelog checks for branches other than main --- .github/workflows/check-backport-changelog.yml | 2 ++ .github/workflows/check-components-changelog.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/check-backport-changelog.yml b/.github/workflows/check-backport-changelog.yml index 99d7e1ca5b53a8..55324f7431e2c5 100644 --- a/.github/workflows/check-backport-changelog.yml +++ b/.github/workflows/check-backport-changelog.yml @@ -3,6 +3,8 @@ name: Verify Core Backport Changlog on: pull_request: types: [opened, synchronize, labeled, unlabeled] + branches: + - main paths: - 'lib/**' - '!lib/load.php' diff --git a/.github/workflows/check-components-changelog.yml b/.github/workflows/check-components-changelog.yml index ccc6efac3c3788..040560bfd9f0b4 100644 --- a/.github/workflows/check-components-changelog.yml +++ b/.github/workflows/check-components-changelog.yml @@ -3,6 +3,8 @@ name: OPTIONAL - Verify @wordpress/components CHANGELOG update on: pull_request: types: [opened, synchronize] + branches: + - main paths: - 'packages/components/**' - '!packages/components/src/**/stories/**' From c217aa025022064dd5e73c458d2b903da9af4840 Mon Sep 17 00:00:00 2001 From: Ella Date: Tue, 18 Jun 2024 10:59:21 +0300 Subject: [PATCH 2/4] Run on trunk, not main --- .github/workflows/check-backport-changelog.yml | 2 +- .github/workflows/check-components-changelog.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check-backport-changelog.yml b/.github/workflows/check-backport-changelog.yml index 55324f7431e2c5..e74231b5d1472a 100644 --- a/.github/workflows/check-backport-changelog.yml +++ b/.github/workflows/check-backport-changelog.yml @@ -4,7 +4,7 @@ on: pull_request: types: [opened, synchronize, labeled, unlabeled] branches: - - main + - trunk paths: - 'lib/**' - '!lib/load.php' diff --git a/.github/workflows/check-components-changelog.yml b/.github/workflows/check-components-changelog.yml index 040560bfd9f0b4..80d97c0c566e82 100644 --- a/.github/workflows/check-components-changelog.yml +++ b/.github/workflows/check-components-changelog.yml @@ -4,7 +4,7 @@ on: pull_request: types: [opened, synchronize] branches: - - main + - trunk paths: - 'packages/components/**' - '!packages/components/src/**/stories/**' From 9cc41b118ab64a25055e44fc47d9b8cef326d3e5 Mon Sep 17 00:00:00 2001 From: Ella Date: Tue, 18 Jun 2024 11:09:34 +0300 Subject: [PATCH 3/4] test --- lib/init.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/init.php b/lib/init.php index 88dcba4525f6e2..3f7435a0425020 100644 --- a/lib/init.php +++ b/lib/init.php @@ -6,7 +6,7 @@ */ /** - * Gutenberg's Menu. + * Gutenberg's Menu * * Adds a new wp-admin menu page for the Gutenberg editor. * From 56a3c233be74b95bb853ea1634e1fd24be0ef88c Mon Sep 17 00:00:00 2001 From: Ella Date: Tue, 18 Jun 2024 11:13:22 +0300 Subject: [PATCH 4/4] Revert "test" This reverts commit 9cc41b118ab64a25055e44fc47d9b8cef326d3e5. --- lib/init.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/init.php b/lib/init.php index 3f7435a0425020..88dcba4525f6e2 100644 --- a/lib/init.php +++ b/lib/init.php @@ -6,7 +6,7 @@ */ /** - * Gutenberg's Menu + * Gutenberg's Menu. * * Adds a new wp-admin menu page for the Gutenberg editor. *