From 4ff43499cc1b2da4e6899a9c0c2c770794c7085a Mon Sep 17 00:00:00 2001 From: James MacBeth Date: Thu, 23 May 2024 16:28:50 +0100 Subject: [PATCH] DST-17030 - Only run the build and push against main branch and new releases. --- .github/workflows/build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7d3aed5a..dc26cbf3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,6 +4,8 @@ on: release: types: [published, edited] push: + branches: + - main permissions: id-token: write # Required for OIDC