From 9b496831b2eb22614a790230646292bc87376d8e Mon Sep 17 00:00:00 2001 From: Jen Jones Arnesen Date: Tue, 4 Jun 2024 16:58:56 +0200 Subject: [PATCH 1/2] chore: run release step on tags so it publishes to d2-ci --- .github/workflows/dhis2-verify-app.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dhis2-verify-app.yml b/.github/workflows/dhis2-verify-app.yml index db0d089ae..d9def00a7 100644 --- a/.github/workflows/dhis2-verify-app.yml +++ b/.github/workflows/dhis2-verify-app.yml @@ -160,7 +160,7 @@ jobs: if: | !github.event.push.repository.fork && github.actor != 'dependabot[bot]' && - (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/dev') + (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/dev'|| startsWith(github.ref, 'refs/tags/')) steps: - uses: actions/checkout@v3 with: From f87470f22bb796965832beec3268d353f2a0b2e9 Mon Sep 17 00:00:00 2001 From: Jen Jones Arnesen Date: Thu, 6 Jun 2024 09:23:53 +0200 Subject: [PATCH 2/2] chore: do not run release step on dev branch --- .github/workflows/dhis2-verify-app.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dhis2-verify-app.yml b/.github/workflows/dhis2-verify-app.yml index d9def00a7..c6d3d4da7 100644 --- a/.github/workflows/dhis2-verify-app.yml +++ b/.github/workflows/dhis2-verify-app.yml @@ -160,7 +160,7 @@ jobs: if: | !github.event.push.repository.fork && github.actor != 'dependabot[bot]' && - (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/dev'|| startsWith(github.ref, 'refs/tags/')) + (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')) steps: - uses: actions/checkout@v3 with: