-
Notifications
You must be signed in to change notification settings - Fork 72
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Description
The CI tests do no pass anymore since the latest release of ghapi 1.0.1
https://github.com/fastai/ghapi/releases/tag/1.0.1
Reproduce
Run pytest in an environment containing ghapi==1.0.1
Expected behavior
The tests pass.
Context
Troubleshoot Output
self = , owner = 'pytest-0'
repo = 'test_build_changelog_backport0', token = None, jwt_token = None
debug = None, limit_cb = None, gh_host = None, kwargs = {}
def __init__(self, owner=None, repo=None, token=None, jwt_token=None, debug=None, limit_cb=None, gh_host=None, **kwargs):
self.headers = { 'Accept': 'application/vnd.github.v3+json' }
token = token or os.getenv('GITHUB_TOKEN', None)
jwt_token = jwt_token or os.getenv('GITHUB_JWT_TOKEN', None)
if jwt_token: self.headers['Authorization'] = 'Bearer ' + jwt_token
elif token: self.headers['Authorization'] = 'token ' + token
else: warn('Neither GITHUB_TOKEN nor GITHUB_JWT_TOKEN found: running as unauthenticated')
E UserWarning: Neither GITHUB_TOKEN nor GITHUB_JWT_TOKEN found: running as unauthenticated
/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/ghapi/core.py:99: UserWarning
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working