From 23384c5e75316b7f93b8a412873b7deda10089f3 Mon Sep 17 00:00:00 2001 From: richardrobertreitz Date: Fri, 7 Feb 2025 19:26:20 +0000 Subject: [PATCH] Update .github/workflows/.github-ci.yaml --- .github/workflows/.github-ci.yaml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/.github-ci.yaml b/.github/workflows/.github-ci.yaml index 6c5516c..23b767e 100644 --- a/.github/workflows/.github-ci.yaml +++ b/.github/workflows/.github-ci.yaml @@ -1,7 +1,13 @@ name: ci on: - push: + # Start workflow on every push + #push: + # Start workflow on pull requests on specific branches + pull_request: + branches: + - main + - development jobs: docker: @@ -35,5 +41,7 @@ jobs: ${{ steps.repository.outputs.registry }}=${{ github.repository }}:${{ secrets.PACKAGES_TOKEN }} destinations: | ${{ steps.docker.outputs.tags }} - # push: ${{ github.event_name != 'pull_request' }} + # Fine grained control of pushing based on event name + #push: ${{ github.event_name != 'pull_request' }} + # Always push push: 'true'