Skip to content

Commit 3aa6222

Browse files
committed
ci: remove workflow permissions
Closing some security gaps.
1 parent 28d6452 commit 3aa6222

File tree

9 files changed

+9
-0
lines changed

9 files changed

+9
-0
lines changed

.github/workflows/anaconda.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ on:
33
pull_request:
44
schedule:
55
- cron: '30 13 * * *'
6+
permissions: { }
67
jobs:
78
linux:
89
strategy:

.github/workflows/external-zstd.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ on:
33
pull_request:
44
schedule:
55
- cron: '30 13 * * *'
6+
permissions: { }
67
jobs:
78
linux:
89
runs-on: 'ubuntu-22.04'

.github/workflows/pypy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ on:
33
pull_request:
44
schedule:
55
- cron: '30 13 * * *'
6+
permissions: { }
67
jobs:
78
wheel:
89
strategy:

.github/workflows/ruff.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ on:
33
pull_request:
44
schedule:
55
- cron: '30 13 * * *'
6+
permissions: { }
67
jobs:
78
ruff:
89
runs-on: ubuntu-latest

.github/workflows/sdist.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ on:
33
pull_request:
44
schedule:
55
- cron: '30 13 * * *'
6+
permissions: { }
67
jobs:
78
sdist:
89
runs-on: 'ubuntu-22.04'

.github/workflows/sphinx.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ on:
33
pull_request:
44
schedule:
55
- cron: '30 13 * * *'
6+
permissions: { }
67
jobs:
78
sphinx:
89
runs-on: ubuntu-24.04

.github/workflows/test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ on:
33
pull_request:
44
schedule:
55
- cron: '30 13 * * *'
6+
permissions: { }
67
jobs:
78
test:
89
strategy:

.github/workflows/typing.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ on:
33
pull_request:
44
schedule:
55
- cron: '30 13 * * *'
6+
permissions: { }
67
jobs:
78
mypy:
89
strategy:

.github/workflows/wheel.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ on:
33
pull_request:
44
schedule:
55
- cron: '30 13 * * *'
6+
permissions: { }
67
jobs:
78
linux:
89
strategy:

0 commit comments

Comments
 (0)