diff --git a/.github/workflows/test_destination_synapse.yml b/.github/workflows/test_destination_synapse.yml index 8111f76ae0..e86e29ebf6 100644 --- a/.github/workflows/test_destination_synapse.yml +++ b/.github/workflows/test_destination_synapse.yml @@ -1,6 +1,11 @@ name: test synapse on: + pull_request: + branches: + - master + - devel + workflow_dispatch: env: @@ -15,6 +20,16 @@ env: jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Check source branch name + run: | + if [[ "${{ github.head_ref }}" != "synapse" ]]; then + exit 1 + fi + run_loader: name: Tests Synapse loader strategy: @@ -76,4 +91,4 @@ jobs: - name: Check matrix job results if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') run: | - echo "One or more matrix job tests failed or were cancelled. You may need to re-run them." && exit 1 \ No newline at end of file + echo "One or more matrix job tests failed or were cancelled. You may need to re-run them." && exit 1