Skip to content

Commit abc930f

Browse files
authored
Merge pull request #143 from sbidoul/harden-ci
Harden CI workflow
2 parents 2ddd7c3 + 9717805 commit abc930f

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,16 @@ on:
88

99
jobs:
1010
test:
11+
permissions:
12+
contents: read
1113
runs-on: ubuntu-latest
1214
strategy:
1315
matrix:
1416
python-version: ["3.13"]
1517
steps:
1618
- uses: actions/checkout@v6
19+
with:
20+
persist-credentials: false
1721
- uses: actions/setup-python@v6
1822
with:
1923
python-version: ${{ matrix.python-version }}
@@ -27,6 +31,9 @@ jobs:
2731
run: mypy ./src/runboat ./tests
2832
- uses: codecov/codecov-action@v5
2933
build-image:
34+
permissions:
35+
contents: read
36+
packages: write
3037
runs-on: ubuntu-latest
3138
needs:
3239
- test

0 commit comments

Comments
 (0)