Skip to content

Commit c16ba50

Browse files
committed
ad permissions
1 parent fe6cc3b commit c16ba50

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

.github/workflows/pr.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: Pull Request Checks
22

3-
on: [ push ]
3+
on:
4+
push:
5+
branches:
6+
- !main
47

58
jobs:
69
code-quality:

.github/workflows/release-staging.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,8 @@ jobs:
1414
uses: ./.github/workflows/test.yaml
1515
publish:
1616
name: Publish staging release
17+
permissions:
18+
id-token: write
19+
pages: write
1720
uses: ./.github/workflows/publish-test.yaml
1821
needs: [code-quality, test]

.github/workflows/release.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,6 @@ on:
88
jobs:
99
publish:
1010
name: Publish release
11+
permissions:
12+
id-token: write
1113
uses: ./.github/workflows/publish.yaml

0 commit comments

Comments
 (0)