Skip to content

Commit 07207ef

Browse files
committed
ci: use github token as secret in actions
1 parent 22f293b commit 07207ef

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ jobs:
4242
run: pytest --cov=lydata --cov-config=pyproject.toml --doctest-modules src
4343
env:
4444
COVERAGE_FILE: .coverage.doctests
45+
GITHUB_TOKEN: ${{ secrets.LYCOSYSTEM_READALL }}
4546

4647
# Lastly, we can make sure the examples in the README.md are up to date.
4748
# Because doctests can occur in any text file, we can run it over those examples
@@ -51,6 +52,7 @@ jobs:
5152
run: coverage run -m doctest README.md
5253
env:
5354
COVERAGE_FILE: .coverage.readme
55+
GITHUB_TOKEN: ${{ secrets.LYCOSYSTEM_READALL }}
5456

5557
# Lastly, we collect all files that start with `.coverage` into one file and
5658
# create a report either as a comment on the PR or in a separate branch if its

0 commit comments

Comments
 (0)