Skip to content

Commit 7e43b9a

Browse files
committed
Only build and test with container on upstream (#1817)
As it stands, since we are evaluating using the Docker Hub registry that is not public to facilitate NIST Team development to be more efficient for local and remote testing. As this container may not exist at first commit of branch, disable on fork-based PRs for now.
1 parent 10c5efb commit 7e43b9a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/xspec-tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ on:
2525
workflow_call: {}
2626
jobs:
2727
xspec-tests:
28+
if: github.repository == 'usnistgov/OSCAL' || github.event.pull_request.head.repo.name == github.repository
2829
name: Run XSpec tests
2930
runs-on: ubuntu-22.04
3031
steps:

0 commit comments

Comments
 (0)