Skip to content

Commit a401f55

Browse files
johnbilliondesrosj
authored andcommitted
Build/Test Tools: Add some missing permissions to the GitHub Actions workflows.
These permissions are not required for a public repo but are required for a private repo, for example a private fork. Props johnbillion, desrosj See #63170 git-svn-id: https://develop.svn.wordpress.org/trunk@60612 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 38f8643 commit a401f55

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/performance.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ jobs:
5252
name: Determine Matrix
5353
runs-on: ubuntu-latest
5454
if: ${{ ( github.repository == 'WordPress/wordpress-develop' || ( github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' ) ) && ! contains( github.event.before, '00000000' ) }}
55-
permissions: {}
55+
permissions:
56+
actions: read
5657
env:
5758
TARGET_SHA: ${{ github.event_name == 'pull_request' && github.event.pull_request.base.sha || github.event.before }}
5859
outputs:

0 commit comments

Comments
 (0)