Skip to content

Commit 10d49a9

Browse files
committed
added permissions: section in Github Actions/Workflows to allow for token-based write access
1 parent 8eda3e2 commit 10d49a9

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/full-check.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ permissions:
2020
checks: write
2121
jobs:
2222
build:
23+
permissions:
24+
contents: write
25+
checks: write
26+
actions: read
2327
if: ${{ !github.event.pull_request || contains(github.event.pull_request.labels.*.name, 'ready') }}
2428
runs-on: ubuntu-latest
2529
strategy:

.github/workflows/quick-check.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ name: Quick smoke test
55
on: [push, pull_request]
66
jobs:
77
build:
8+
permissions:
9+
contents: write
10+
checks: write
11+
actions: read
812
runs-on: ubuntu-latest
913
strategy:
1014
fail-fast: false

0 commit comments

Comments
 (0)