Skip to content

Commit 4e0af67

Browse files
committed
fixup! Add explicit workflow permissions
1 parent 660483d commit 4e0af67

File tree

4 files changed

+10
-2
lines changed

4 files changed

+10
-2
lines changed

.github/workflows/branches.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ jobs:
1010
test:
1111
name: Test & Check
1212
runs-on: ubuntu-24.04
13+
permissions:
14+
contents: read
1315
timeout-minutes: 10
1416
strategy:
1517
matrix:

.github/workflows/evals.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ jobs:
99
eval:
1010
name: Eval
1111
runs-on: ubuntu-24.04
12+
permissions:
13+
contents: read
1214
timeout-minutes: 10
1315
steps:
1416
- uses: actions/checkout@v4

.github/workflows/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ jobs:
1111
deploy-staging:
1212
name: Deploy (staging)
1313
runs-on: ubuntu-24.04
14+
permissions:
15+
contents: read
1416
timeout-minutes: 10
1517
concurrency: ${{ github.workflow }}-deploy-staging
1618
steps:

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ jobs:
1111
create-release-pr:
1212
name: Create Release PR
1313
runs-on: ubuntu-24.04
14-
timeout-minutes: 5
15-
concurrency: ${{ github.workflow }}-create-release-pr
1614
permissions:
1715
contents: write
1816
pull-requests: write
17+
timeout-minutes: 5
18+
concurrency: ${{ github.workflow }}-create-release-pr
1919
outputs:
2020
published: ${{ steps.create-release-pr.outputs.published }}
2121
steps:
@@ -48,6 +48,8 @@ jobs:
4848
runs-on: ubuntu-24.04
4949
timeout-minutes: 10
5050
concurrency: ${{ github.workflow }}-deploy-production
51+
permissions:
52+
contents: read
5153
steps:
5254
- name: Checkout Repo
5355
uses: actions/checkout@v4

0 commit comments

Comments
 (0)