()
| 25 | # Returns true if we are running in GitHub actions |
| 26 | # https://docs.github.com/en/actions/learn-github-actions/variables#default-environment-variables |
| 27 | def IsGHA(): |
| 28 | if 'GITHUB_ACTION' in os.environ: |
| 29 | return True |
| 30 | return False |
| 31 | |
| 32 | # helper to define paths relative to the repo root |
| 33 | def repo_relative(path): |