Skip to content

Commit 44056e5

Browse files
committed
Grant preview-website job the permissions Firebase deploy needs
Signed-off-by: Tamal Saha <tamal@appscode.com>
1 parent 6a43c9b commit 44056e5

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/preview-website.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,16 @@ jobs:
1414
label-detector:
1515
name: Runner Label
1616
runs-on: label-detector
17+
permissions:
18+
contents: read
19+
checks: write
20+
pull-requests: write
1721
outputs:
1822
runs-on: ${{ steps.detector.outputs.label }}
23+
permissions:
24+
contents: read
25+
checks: write
26+
pull-requests: write
1927
steps:
2028
- name: Detect Label
2129
id: detector
@@ -27,6 +35,10 @@ jobs:
2735
name: Build
2836
needs: label-detector
2937
runs-on: "${{ needs.label-detector.outputs.runs-on }}"
38+
permissions:
39+
contents: read
40+
checks: write
41+
pull-requests: write
3042
steps:
3143
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
3244
with:

0 commit comments

Comments
 (0)