From 7db0ba7c5fba444d24a356fba3e55b3034d4b8bb Mon Sep 17 00:00:00 2001 From: Maxim Schram Date: Fri, 29 Sep 2023 14:51:50 -0400 Subject: [PATCH] fix: update gha trigger so it doesn't run twice when pushing to branches that have a pull request --- .github/workflows/ci-cd.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index a925a726..929ba6b6 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -4,6 +4,7 @@ on: workflow_dispatch: # Allows you to run this workflow manually from the Actions tab pull_request: # Runs whenever a pull request is created or updated push: # Runs whenever a commit is pushed to the repository + branches: [main, develop, hotfix/*] concurrency: group: "${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}"