Skip to content

Commit

Permalink
Revert unnecessary change
Browse files Browse the repository at this point in the history
  • Loading branch information
ThiefMaster committed Mar 24, 2024
1 parent 9e134dc commit aae3867
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/utils/get_core_repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,9 @@ def main():
print(f'Uncommon branch {branch}; defaulting to master')
branch = 'master'

for fn in (os.environ['GITHUB_ENV'], os.environ['GITHUB_OUTPUT']):
with open(fn, 'a') as f:
f.write(f'{SCOPE}_REPO={full_repo}\n')
f.write(f'{SCOPE}_BRANCH={branch}\n')

with open(os.environ['GITHUB_ENV'], 'a') as f:
f.write(f'{SCOPE}_REPO={full_repo}\n')
f.write(f'{SCOPE}_BRANCH={branch}\n')
return 0


Expand Down

0 comments on commit aae3867

Please sign in to comment.