For consistency with `GITHUB_OUTPUT` at the bottom. --- .github/matrix.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/matrix.py b/.github/matrix.py index e03453aa4d..c58bb7acd4 100755 --- a/.github/matrix.py +++ b/.github/matrix.py @@ -29,7 +29,7 @@ def clean_ssl(ssl): @functools.lru_cache(5) def determine_latest_openssl(ssl): headers = {} - if environ.get('GITHUB_TOKEN'): + if environ.get('GITHUB_TOKEN') is not None: headers["Authorization"] = "token {}".format(environ.get('GITHUB_TOKEN')) request = urllib.request.Request('https://api.github.com/repos/openssl/openssl/tags', headers=headers) -- 2.39.0