Skip to content

Commit

Permalink
Add comment to explain what the line is doing.
Browse files Browse the repository at this point in the history
  • Loading branch information
smokestacklightnin committed Jul 12, 2023
1 parent 63f91d7 commit c2d44b0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ defaults:
jobs:
build-sphinx-html:
if: ((github.repository == 'tardis-sn/stardis') && (${{ github.head_ref || github.ref_name}} == 'main')) || (github.repository_owner != 'tardis-sn')
# The above line makes this action run if it is either not on the upstream/main or the main branch of upstream/main.
# If there is a better way to implement this, I'd like someone to please share.
# The context to get the branch name is from https://stackoverflow.com/a/71158878
runs-on: ubuntu-latest
steps:

Expand Down

0 comments on commit c2d44b0

Please sign in to comment.