Skip to content

Commit 24ecd4c

Browse files
committed
try fix unnecessary permissions in lint/test
1 parent fea3cf3 commit 24ecd4c

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.github/workflows/lint.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
name: Lint
22

3-
permissions:
4-
contents: read
5-
63
on:
74
push:
85
pull_request:
@@ -19,6 +16,8 @@ jobs:
1916

2017
lint:
2118
runs-on: ubuntu-latest
19+
permissions:
20+
contents: read
2221
strategy:
2322
matrix:
2423
# run static analysis on bleeding and trailing edges

.github/workflows/test.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
name: Test
22

3-
permissions: read-all
4-
53
on:
64
push:
75
pull_request:
@@ -628,7 +626,8 @@ jobs:
628626
coverage-combine:
629627
needs: [postgres, sqlite, mysql, mariadb, oracle, windows, macos]
630628
runs-on: ubuntu-latest
631-
629+
permissions:
630+
contents: read
632631
steps:
633632
- uses: actions/checkout@v4
634633
- uses: actions/setup-python@v5

0 commit comments

Comments
 (0)