Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tox.ini: Take away GITHUB_ACTIONS from coveralls
.. so that it stops complaining about missing variable GITHUB_TOKEN .. > Running on Github Actions but GITHUB_TOKEN is not set. > Add "env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}" to > your step config. (which may have write access) and that we stopped sharing with coveralls in PR #97. The related code checks for presence of variable GITHUB_ACTIONS so we we take that variable from coveralls-python. Rather than excluding variable GITHUB_ACTIONS, we include all other GITHUB_* variables used by coveralls-python. The list was derive like this: $ git clone --depth 1 https://github.com/TheKevJames/coveralls-python $ cd coveralls-python/ $ git grep -oh "GITHUB_[^ ':\`*]\+" | sort -u GITHUB_ACTIONS GITHUB_HEAD_REF GITHUB_REF GITHUB_REPOSITORY GITHUB_RUN_ID GITHUB_RUN_NUMBER GITHUB_SHA GITHUB_TOKEN
- Loading branch information