From 2c7e0d86416b3b8ecc26fd3ac25bed1f44b01f9d Mon Sep 17 00:00:00 2001 From: Conrad Date: Sun, 24 Nov 2024 15:53:18 +0100 Subject: [PATCH] feat: fixed pipeline --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cfd4c97..ac46673 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,6 +12,9 @@ on: - "**/CHANGELOG.md" - "**/docs/**" workflow_dispatch: + pull_request: + branches: + - dev env: REGISTRY: ghcr.io @@ -51,6 +54,7 @@ jobs: tag: needs: test + if: github.event_name == 'push' runs-on: ubuntu-latest permissions: contents: write # for the tags @@ -86,6 +90,7 @@ jobs: run: git push origin ${{ steps.git_version.outputs.version }} build_and_push: + if: github.event_name == 'push' runs-on: ubuntu-latest permissions: write-all needs: tag