Skip to content

Commit 26830c8

Browse files
ci(gh): ci(gh): Set read-only permissions (#14)
This only applies for the GH token usage.
1 parent 6e1b1cb commit 26830c8

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/continuous-deployment.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
release:
55
types: [published]
66

7+
permissions:
8+
contents: read
9+
710
jobs:
811
checks:
912
runs-on: ubuntu-latest
@@ -31,9 +34,6 @@ jobs:
3134

3235
needs: checks
3336

34-
permissions:
35-
packages: write
36-
contents: read
3737

3838
steps:
3939
- name: Checkout default branch

.github/workflows/continuous-integration.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
branches:
66
- 'main'
77

8+
permissions:
9+
contents: read
10+
811
env:
912
CI: true
1013

0 commit comments

Comments
 (0)