diff --git a/.github/workflows/code_validation.yml b/.github/workflows/code_validation.yml index ce57a24c..9c0201ca 100644 --- a/.github/workflows/code_validation.yml +++ b/.github/workflows/code_validation.yml @@ -10,6 +10,7 @@ on: jobs: validate: runs-on: ubuntu-latest + # Trigger an action on push OR pull request but not both. The second event will be skipped. if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name steps: - name: Checkout diff --git a/.github/workflows/json_validation.yml b/.github/workflows/json_validation.yml index 67b3f3eb..38404e3a 100644 --- a/.github/workflows/json_validation.yml +++ b/.github/workflows/json_validation.yml @@ -20,6 +20,7 @@ on: jobs: validate: runs-on: ubuntu-latest + # Trigger an action on push OR pull request but not both. The second event will be skipped. if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name steps: - name: Checkout diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index f3224d89..95fe7df5 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -11,6 +11,7 @@ jobs: tests: name: App Tests runs-on: ubuntu-latest + # Trigger an action on push OR pull request but not both. The second event will be skipped. if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name steps: