From 0ad2bb4e5ee08e82e58c9ce37b9fb81c828216f7 Mon Sep 17 00:00:00 2001 From: Deepak Prabhakara Date: Fri, 5 Apr 2024 22:04:46 +0100 Subject: [PATCH] tweaked when github actions should run --- .github/workflows/docker-publish.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 1e55e3e..898e11d 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -3,11 +3,14 @@ name: Build and Publish Docker on: push: branches: - - '*' + - main + - release tags: - 'beta-v*' pull_request: - types: [opened, synchronize, reopened] + # Trigger only for PRs that target main branch + branches: + - main # Allows you to run this workflow manually from the Actions tab workflow_dispatch: