From 29fee1572c6145a520b3663b36a58c44ae933bd7 Mon Sep 17 00:00:00 2001 From: Gibah Joseph Date: Wed, 6 Nov 2024 10:06:43 +0000 Subject: [PATCH] chore: fixed ci --- .github/workflows/release_please.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/release_please.yml b/.github/workflows/release_please.yml index dde2786..bcd53e0 100644 --- a/.github/workflows/release_please.yml +++ b/.github/workflows/release_please.yml @@ -15,16 +15,10 @@ permissions: jobs: release-please: - if: > - github.event_name == 'push' || - (github.event_name == 'pull_request' && github.event.pull_request.merged == true && !startsWith(github.event.pull_request.title, 'chore(release):')) + if: github.event_name != 'pull_request' || (github.event.pull_request.merged && github.event.pull_request.head.ref !~ 'release-please/.*') runs-on: ubuntu-latest steps: - uses: google-github-actions/release-please-action@v3 with: command: manifest token: ${{ secrets.OG_BOT_TOKEN }} - release-type: dart - bump-minor-pre-major: false - bump-patch-for-minor-pre-major: false - version-file: "changelog-only"