Skip to content

Commit

Permalink
Try to fix error with authentication
Browse files Browse the repository at this point in the history
  • Loading branch information
kwk committed Apr 8, 2024
1 parent d12fd17 commit a02574d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/python-format-and-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
- uses: ./.github/actions/prepare-python
- name: Run pytest with coverage
shell: bash -e {0}
env:
GH_TEST_TOKEN: ${{ secrets.GH_TEST_TOKEN }}
run: |
coverage run -m pytest
coverage report -m
Expand Down
2 changes: 1 addition & 1 deletion snapshot_manager/snapshot_manager/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class Config:
github_repo: str = "fedora-llvm-team/llvm-snapshots-test"
"""Default github repo to use"""

github_token_env: str = "GITHUB_TEST_TOKEN"
github_token_env: str = "GH_TEST_TOKEN"
"""Default name of the environment variable which holds the github token"""

update_marker: str = "<!--UPDATES_FOLLOW_HERE-->"
Expand Down

0 comments on commit a02574d

Please sign in to comment.