Commit ba0d40e842e for woocommerce
commit ba0d40e842e23b94f399373954fe5288e67512d7
Author: Ján Mikláš <neosinner@gmail.com>
Date: Fri Oct 30 12:54:41 2026 +0100
Grant PR read access to changelog validation (#70406)
* Grant PR read access to changelog validation
* Add changelog entry for validation permissions
* Also grant PR read access to markdown validation
---------
Co-authored-by: Jorge Torres <jorge.torres@automattic.com>
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index f7c49b89c18..a866ad87847 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -702,6 +702,7 @@ jobs:
timeout-minutes: 5
permissions:
contents: read
+ pull-requests: read
steps:
- uses: 'actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0' # v7.0.0
@@ -761,6 +762,7 @@ jobs:
timeout-minutes: 5
permissions:
contents: read
+ pull-requests: read
steps:
- uses: 'actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0' # v7.0.0
diff --git a/plugins/woocommerce/changelog/fix-ci-changelog-pr-read-permission b/plugins/woocommerce/changelog/fix-ci-changelog-pr-read-permission
new file mode 100644
index 00000000000..0eb2e23cf79
--- /dev/null
+++ b/plugins/woocommerce/changelog/fix-ci-changelog-pr-read-permission
@@ -0,0 +1,3 @@
+Significance: patch
+Type: dev
+Comment: Fix changelog validation CI permissions; no production change.
diff --git a/plugins/woocommerce/changelog/fix-ci-markdown-pr-read-permission b/plugins/woocommerce/changelog/fix-ci-markdown-pr-read-permission
new file mode 100644
index 00000000000..046a247e766
--- /dev/null
+++ b/plugins/woocommerce/changelog/fix-ci-markdown-pr-read-permission
@@ -0,0 +1,3 @@
+Significance: patch
+Type: dev
+Comment: Fix markdown validation CI permissions; no production change.