test: Add commitizen dry run step to checks workflow (#1217)

This commit is contained in:
Prad Nukala 2024-12-24 11:24:04 -05:00 committed by GitHub
parent 47c3a53080
commit 143053e355
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 10 additions and 3 deletions

View File

@ -113,6 +113,14 @@ jobs:
go-version: "1.23" go-version: "1.23"
check-latest: true 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 - name: Check GoReleaser Config
uses: goreleaser/goreleaser-action@v6 uses: goreleaser/goreleaser-action@v6
with: with:

View File

@ -21,9 +21,8 @@ jobs:
- name: Create bump and changelog - name: Create bump and changelog
uses: commitizen-tools/commitizen-action@master uses: commitizen-tools/commitizen-action@master
with: with:
push: true push: false
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: main
- name: Push using ssh - name: Push using ssh
run: | run: |
git push origin main --tags git push origin main --tags