Skip to content

Commit

Permalink
Merge pull request #174 from duncandewhurst/fix-local
Browse files Browse the repository at this point in the history
tests/test_json.py: Handle unset GITHUB_ACTOR
  • Loading branch information
jpmckinney authored Jun 27, 2024
2 parents 465d0bb + cb31c74 commit 5fc9348
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def read_metadata(allow_missing=False):
is_profile = os.path.isfile('Makefile') and os.path.isdir('docs') and repo_name not in ('standard', 'infrastructure')
is_extension = os.path.isfile('extension.json') or is_profile
extensiondir = os.path.join('schema', 'profile') if is_profile else '.'
if repo_name == 'standard' and os.getenv('GITHUB_ACTOR').lower() not in (
if repo_name == 'standard' and os.getenv('GITHUB_ACTOR', '').lower() not in (
'colinmaudry', 'duncandewhurst', 'jachymhercher', 'odscjen' 'jpmckinney', 'yolile'
):
standard_owner = os.getenv('GITHUB_ACTOR', 'open-contracting')
Expand Down

0 comments on commit 5fc9348

Please sign in to comment.