From ec6bee2b893e5dff9f36e69c5b9573e413f13132 Mon Sep 17 00:00:00 2001 From: "bhagyesh.sitapat" Date: Fri, 30 Jan 2026 15:13:30 +0530 Subject: [PATCH] Fixed infinite loop --- .github/workflows/publish.yml | 4 +++- .github/workflows/release.yml | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6ce9812..a936865 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -14,7 +14,9 @@ jobs: id-token: write steps: - name: Checkout Code - uses: actions/checkout@v3 + uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Set up Flutter uses: subosito/flutter-action@v2 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ca5ed16..283cfd1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,9 +7,11 @@ on: jobs: release: if: | + github.ref_type == 'branch' && github.ref == 'refs/heads/main' && !contains(github.actor, 'bot') && - !contains(github.event.head_commit.message, '[skip ci]') + !contains(github.event.head_commit.message, '[skip ci]') && + !contains(github.event.head_commit.message, 'chore:') runs-on: ubuntu-latest name: Create Release Tag