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