Skip to content

Commit

Permalink
Only do test-build if the PR branch is from a fork, not ESCOMP/CTSM.
Browse files Browse the repository at this point in the history
  • Loading branch information
samsrabin committed Oct 3, 2024
1 parent 868e0d0 commit 1fa1eb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ permissions:
contents: read
jobs:

# The test-build job will run regardless of whether the PR branch is from ESCOMP/CTSM or a fork.
# The test-build job will run only if the PR branch is from a fork, not ESCOMP/CTSM.

test-build:
if: ${{ always() }}
if: github.event.pull_request.head.repo.full_name != github.repository
name: Test building documentation
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 1fa1eb5

Please sign in to comment.