diff options
| author | Egor Tensin <egor@tensin.name> | 2026-03-01 08:08:36 +0100 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2026-03-01 08:08:36 +0100 |
| commit | aa2c72dacf7c43c34bb1e827a6b6dead5f563c72 (patch) | |
| tree | ca70c807a76c55007adae66987997c534c05eb00 /.github/workflows/ci.yml | |
| parent | requirements.txt: bump dependencies (diff) | |
| download | cgitize-aa2c72dacf7c43c34bb1e827a6b6dead5f563c72.tar.gz cgitize-aa2c72dacf7c43c34bb1e827a6b6dead5f563c72.zip | |
workflows/ci: remove on: pull_request
Why do I even need this? on: push covers everything I need
Diffstat (limited to '.github/workflows/ci.yml')
| -rw-r--r-- | .github/workflows/ci.yml | 5 |
1 files changed, 2 insertions, 3 deletions
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__ |
