From aa2c72dacf7c43c34bb1e827a6b6dead5f563c72 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 1 Mar 2026 08:08:36 +0100 Subject: workflows/ci: remove on: pull_request Why do I even need this? on: push covers everything I need --- .github/workflows/ci.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to '.github/workflows/ci.yml') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 056efbb..c9d2ce2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,7 +4,6 @@ on: push: paths-ignore: - '*.md' - pull_request: workflow_dispatch: jobs: @@ -84,7 +83,7 @@ jobs: - {service: backend, file: docker/Dockerfile, image: cgitize} - {service: frontend, context: docker/frontend, image: cgitize-frontend} name: 'Publish / Docker Hub / ${{ matrix.service }}' - if: github.event_name == 'push' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')) + if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/') steps: - name: Checkout uses: actions/checkout@v6 @@ -153,7 +152,7 @@ jobs: path: dist if-no-files-found: error - name: Publish to PyPI - if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') + if: startsWith(github.ref, 'refs/tags/') uses: pypa/gh-action-pypi-publish@release/v1 with: user: __token__ -- cgit v1.3