Skip to content

Commit 1079441

Browse files
SEC: disable default gha permissions (#367)
1 parent 3349385 commit 1079441

4 files changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/test_publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ concurrency:
1515
group: ${{ github.workflow }}-${{ github.ref }}
1616
cancel-in-progress: true
1717

18+
permissions: {}
19+
1820
jobs:
1921
release_default:
2022
uses: ./.github/workflows/publish.yml

.github/workflows/test_publish_pure_python.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ concurrency:
1515
group: ${{ github.workflow }}-${{ github.ref }}
1616
cancel-in-progress: true
1717

18+
permissions: {}
19+
1820
jobs:
1921
release:
2022
uses: ./.github/workflows/publish_pure_python.yml

.github/workflows/test_tox.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ concurrency:
1919
group: ${{ github.workflow }}-${{ github.ref }}
2020
cancel-in-progress: true
2121

22+
permissions: {}
23+
2224
jobs:
2325
test_pyos:
2426
uses: ./.github/workflows/tox.yml

.github/workflows/update_tag.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on:
55
tags:
66
- "v*"
77

8+
permissions: {}
9+
810
jobs:
911
update-majorver:
1012
name: Update Major Version Tag

0 commit comments

Comments
 (0)