From b3b4b19142357255604d287ea4dd9a024847477c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matou=C5=A1=20Dzivjak?= Date: Sat, 11 Jul 2026 22:38:31 +0200 Subject: [PATCH] chore(cd): don't run release please on release --- .github/workflows/ci.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 25b7f62..d2f98b1 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -70,7 +70,9 @@ jobs: release-please: name: Prepare release runs-on: ubuntu-latest - if: github.ref == 'refs/heads/main' + if: >- + github.ref == 'refs/heads/main' && + !startsWith(github.event.head_commit.message, 'release: ') steps: - name: Checkout code uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 @@ -89,4 +91,3 @@ jobs: with: token: ${{ steps.app-token.outputs.token }} target-branch: ${{ github.ref_name }} - skip-github-pull-request: "${{ startsWith(github.event.head_commit.message, 'release: ') }}"