Skip to content

Commit 7988361

Browse files
authored
Apply explicit github actions workflow permissions (#3412)
1 parent bae3b7a commit 7988361

3 files changed

Lines changed: 9 additions & 0 deletions

File tree

‎.github/workflows/license-check.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ concurrency:
1313
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
1414
cancel-in-progress: true
1515

16+
permissions:
17+
contents: read
18+
1619
jobs:
1720
license:
1821
runs-on: ubuntu-latest

‎.github/workflows/lintBuildTest.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ concurrency:
99
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
1010
cancel-in-progress: true
1111

12+
permissions:
13+
contents: read
14+
1215
jobs:
1316
install:
1417
timeout-minutes: 60

‎.github/workflows/upload-assets.yaml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
push:
66
branches: [main]
77

8+
permissions:
9+
contents: read
10+
811
jobs:
912
build-and-upload:
1013
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)