Skip to content

Commit 2e21df8

Browse files
[TASK] Adjust GH workflow for write permission (#6411)
Co-authored-by: Garvin Hicking <blog@garv.in>
1 parent a39fb52 commit 2e21df8

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/apply-precommit.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88
jobs:
99
lint:
1010
if: github.repository_owner == 'TYPO3-documentation'
11+
permissions:
12+
contents: write # needed to push commit
1113
runs-on: ubuntu-latest
1214
steps:
1315
- name: Checkout code

.github/workflows/backport.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ jobs:
99
backport:
1010
runs-on: ubuntu-22.04
1111
name: Backport
12+
permissions:
13+
contents: write # needed to push the backport branch
14+
pull-requests: write # needed to open the PR
1215
steps:
1316
- name: Backport
1417
uses: m-kuhn/backport@v1.2.6

0 commit comments

Comments
 (0)