Skip to content

Commit 98475a2

Browse files
authored
Ci security tweaks (#9010)
* asd * asd * asd * asd * asd * asd * asd * asd * asd * asd * asd * asd * asd * asd
1 parent 4d8a473 commit 98475a2

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/workflows/previews-deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ on:
77
types:
88
- completed
99

10-
permissions:
11-
statuses: write
1210
concurrency:
1311
group: "${{ github.event.workflow_run.head_repository.full_name }}-${{ github.event.workflow_run.head_branch }}-${{ github.workflow_ref }}"
1412
cancel-in-progress: true
@@ -57,6 +55,8 @@ jobs:
5755
needs: changes
5856
if: ${{ needs.changes.outputs.should_run == 'true' }}
5957
runs-on: ubuntu-latest
58+
permissions:
59+
actions: read
6060
steps:
6161
- name: Download all artifacts
6262
uses: actions/download-artifact@v4

.github/workflows/website-deploy.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ on:
66
types:
77
- completed
88

9-
permissions:
10-
statuses: write
11-
129
concurrency:
1310
group: "${{ github.event.workflow_run.head_repository.full_name }}-${{ github.event.workflow_run.head_branch }}-${{ github.workflow_ref }}"
1411
cancel-in-progress: true
@@ -57,6 +54,8 @@ jobs:
5754
runs-on: ubuntu-latest
5855
needs: changes
5956
if: needs.changes.outputs.should_run == 'true'
57+
permissions:
58+
actions: read
6059
outputs:
6160
vercel_url: ${{ steps.output_url.outputs.vercel_url }}
6261
env:

0 commit comments

Comments
 (0)