From 143053e3556c430c410dafd5f067b2e3b2c83867 Mon Sep 17 00:00:00 2001 From: Prad Nukala Date: Tue, 24 Dec 2024 11:24:04 -0500 Subject: [PATCH] test: Add commitizen dry run step to checks workflow (#1217) --- .github/workflows/checks.yml | 8 ++++++++ .github/workflows/merge.yml | 5 ++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 65712e15b..ad67e6bb2 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -113,6 +113,14 @@ jobs: go-version: "1.23" check-latest: true + - name: Commitizen Dry Run + uses: commitizen-tools/commitizen-action@master + with: + push: false + dry_run: true + github_token: ${{ secrets.GITHUB_TOKEN }} + branch: main + - name: Check GoReleaser Config uses: goreleaser/goreleaser-action@v6 with: diff --git a/.github/workflows/merge.yml b/.github/workflows/merge.yml index 93bd56913..8d0d5b850 100644 --- a/.github/workflows/merge.yml +++ b/.github/workflows/merge.yml @@ -21,9 +21,8 @@ jobs: - name: Create bump and changelog uses: commitizen-tools/commitizen-action@master with: - push: true - github_token: ${{ secrets.GITHUB_TOKEN }} - branch: main + push: false + - name: Push using ssh run: | git push origin main --tags