diff --git a/.github/workflows/xspec-tests.yml b/.github/workflows/xspec-tests.yml index dc3cffd2c2..86868fcfff 100644 --- a/.github/workflows/xspec-tests.yml +++ b/.github/workflows/xspec-tests.yml @@ -25,6 +25,7 @@ on: workflow_call: {} jobs: xspec-tests: + if: github.repository == 'usnistgov/OSCAL' || github.event.pull_request.head.repo.name == github.repository name: Run XSpec tests runs-on: ubuntu-22.04 steps: