From 5931ffa104a939ae2c93a742e2cee8dc84c3d9ee Mon Sep 17 00:00:00 2001 From: Jen Jones Arnesen Date: Wed, 6 Mar 2024 09:54:58 +0100 Subject: [PATCH] chore: run release on master and dev branches only --- .github/workflows/dhis2-verify-app.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dhis2-verify-app.yml b/.github/workflows/dhis2-verify-app.yml index 499ffcc9cc..dfc0111c70 100644 --- a/.github/workflows/dhis2-verify-app.yml +++ b/.github/workflows/dhis2-verify-app.yml @@ -98,7 +98,8 @@ jobs: needs: call-workflow-e2e-prod if: | !github.event.push.repository.fork && - github.actor != 'dependabot[bot]' + github.actor != 'dependabot[bot]' && + (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/dev') steps: - uses: actions/checkout@v3 with: