Skip to content

Commit b9b1fec

Browse files
Pass CODECOV_TOKEN explicitly and pin shared workflows to v19
1 parent fa0fc50 commit b9b1fec

4 files changed

Lines changed: 13 additions & 10 deletions

File tree

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ permissions:
1515

1616
jobs:
1717
Docs:
18-
uses: tskit-dev/.github/.github/workflows/docs.yml@v18
18+
uses: tskit-dev/.github/.github/workflows/docs.yml@v19
1919
with:
2020
pyproject-directory: python
2121
additional-apt-packages: doxygen

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ permissions:
99

1010
jobs:
1111
Lint:
12-
uses: tskit-dev/.github/.github/workflows/lint.yml@v18
12+
uses: tskit-dev/.github/.github/workflows/lint.yml@v19
1313
with:
1414
pyproject-directory: python

.github/workflows/tests.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,36 +16,39 @@ jobs:
1616

1717
packaging:
1818
name: Python packaging
19-
uses: tskit-dev/.github/.github/workflows/python-packaging.yml@v18
19+
uses: tskit-dev/.github/.github/workflows/python-packaging.yml@v19
2020
with:
2121
pyproject-directory: python
2222
cli-test-cmd: tskit --help
2323

2424
test-c:
2525
name: C tests
26-
uses: tskit-dev/.github/.github/workflows/c-tests.yml@v18
26+
uses: tskit-dev/.github/.github/workflows/c-tests.yml@v19
2727
with:
2828
library-directory: c
29-
secrets: inherit # zizmor: ignore[secrets-inherit] trusted first-party tskit-dev reusable workflow; needs CODECOV_TOKEN
29+
secrets:
30+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
3031

3132
test-python-c:
3233
name: Python-C tests
33-
uses: tskit-dev/.github/.github/workflows/python-c-tests.yml@v18
34+
uses: tskit-dev/.github/.github/workflows/python-c-tests.yml@v19
3435
with:
3536
tests: python/tests/test_python_c.py python/tests/test_dict_encoding.py
3637
pyproject-directory: python
37-
secrets: inherit # zizmor: ignore[secrets-inherit] trusted first-party tskit-dev reusable workflow; needs CODECOV_TOKEN
38+
secrets:
39+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
3840

3941

4042
test:
4143
name: Python
42-
uses: tskit-dev/.github/.github/workflows/python-tests.yml@v18
44+
uses: tskit-dev/.github/.github/workflows/python-tests.yml@v19
4345
with:
4446
os: ${{ matrix.os }}
4547
python-version: ${{ matrix.python }}
4648
pyproject-directory: python
4749
coverage-directory: python/tskit
48-
secrets: inherit # zizmor: ignore[secrets-inherit] trusted first-party tskit-dev reusable workflow; needs CODECOV_TOKEN
50+
secrets:
51+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
4952
strategy:
5053
matrix:
5154
python: [ 3.11, 3.13 ]

.github/workflows/wheels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ permissions:
1212
jobs:
1313
build-wheels:
1414
if: "!startsWith(github.ref, 'refs/tags/C_')"
15-
uses: tskit-dev/.github/.github/workflows/build-wheels.yml@v18
15+
uses: tskit-dev/.github/.github/workflows/build-wheels.yml@v19
1616
with:
1717
pyproject-directory: python
1818

0 commit comments

Comments
 (0)