Skip to content
This repository was archived by the owner on Feb 13, 2026. It is now read-only.

Commit 8d8358c

Browse files
authored
Merge pull request #109 from 10up/fix/workflow-perms
Fix/workflow perms
2 parents 3652652 + 02ae35f commit 8d8358c

4 files changed

Lines changed: 13 additions & 0 deletions

File tree

.github/workflows/build-release-zip.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: Build release zip
22

3+
permissions:
4+
contents: read
5+
actions: write
6+
37
on:
48
workflow_dispatch:
59
release:

.github/workflows/phpcs.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ on:
99
branches:
1010
- develop
1111

12+
permissions:
13+
contents: read
14+
1215
jobs:
1316
phpcs:
1417
runs-on: ubuntu-latest

.github/workflows/stable.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Build Stable branch
22

3+
permissions:
4+
contents: write
5+
36
on:
47
push:
58
branches:

.github/workflows/testing.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Functional Test
22

3+
permissions:
4+
contents: read
5+
36
on:
47
pull_request:
58
push:

0 commit comments

Comments
 (0)