Skip to content

Commit 521caa6

Browse files
committed
chore: move permissions from job to workflow
1 parent 5a37e0d commit 521caa6

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ env:
88
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
99
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
1010

11+
permissions:
12+
contents: read
13+
id-token: write
14+
1115
jobs:
1216
pre_job:
1317
runs-on: ubuntu-24.04
@@ -92,9 +96,6 @@ jobs:
9296
runs-on: ubuntu-24.04
9397
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && github.repository_owner == 'vuetifyjs'
9498
environment: production
95-
permissions:
96-
contents: read
97-
id-token: write
9899
steps:
99100
- uses: actions/checkout@v4
100101
with:

0 commit comments

Comments
 (0)