Skip to content

Commit 0ae769f

Browse files
committed
address automated review
1 parent abf05b3 commit 0ae769f

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/dist.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ on:
1515
required: true
1616
type: string
1717

18+
permissions:
19+
contents: read
20+
actions: read
21+
1822
concurrency:
1923
group: dist-${{ github.ref }}
2024
cancel-in-progress: true

.github/workflows/release-python.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,16 @@ jobs:
5858
build-dist:
5959
needs: [pre-publish]
6060
uses: ./.github/workflows/dist.yml
61+
permissions:
62+
contents: read
6163
with:
6264
ref: ${{ needs.pre-publish.outputs.version }}
6365

6466
static-scan:
6567
needs: [pre-publish]
6668
uses: ./.github/workflows/codeql.yml
69+
permissions:
70+
contents: read
6771
with:
6872
ref: ${{ needs.pre-publish.outputs.version }}
6973

0 commit comments

Comments
 (0)