Skip to content

Commit 5ed5a6e

Browse files
committed
fix: add correct permissions
1 parent cd1ae4e commit 5ed5a6e

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

.github/workflows/development.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ on:
66
branches:
77
- '*'
88
- '!master'
9-
pull_request:
109

1110
jobs:
1211
build:

.github/workflows/master.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ on:
99
tags:
1010
- '*'
1111

12+
permissions:
13+
contents: read
14+
packages: write
15+
1216
jobs:
1317
build-and-push:
1418
uses: ./.github/workflows/build-and-push.yml

.github/workflows/release.yml

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

7+
permissions:
8+
contents: read
9+
packages: write
10+
711
jobs:
812
build-and-push:
913
uses: ./.github/workflows/build-and-push.yml

0 commit comments

Comments
 (0)