diff --git a/.github/workflows/bump-tag.yml b/.github/workflows/bump-tag.yml index 810140a..3524f8b 100644 --- a/.github/workflows/bump-tag.yml +++ b/.github/workflows/bump-tag.yml @@ -1,4 +1,4 @@ -name: Release +name: Bump and Tag # Controls when the action will run. on: @@ -11,10 +11,7 @@ on: # Allows you to run this workflow manually from the Actions tab workflow_dispatch: -# A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: - # This workflow contains a single job called "build" - bump-version: if: "!startsWith(github.event.head_commit.message, 'bump:')" runs-on: ubuntu-latest @@ -29,6 +26,6 @@ jobs: - name: Create bump and changelog uses: commitizen-tools/commitizen-action@master with: - github_token: ${{ secrets.GITHUB_TOKEN }} + github_token: ${{ secrets.ORG_PAT }} changelog_increment_filename: body.md increment: PATCH diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cb0ebea..9bf35fe 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,9 +1,9 @@ -name: goreleaser +name: Release on: push: tags: - - "v[0-9]+.[0-9]+.[0-9]+" + - "*" workflow_dispatch: @@ -20,7 +20,6 @@ jobs: - name: Run GoReleaser uses: goreleaser/goreleaser-action@v4 with: - # either 'goreleaser' (default) or 'goreleaser-pro' distribution: goreleaser version: latest args: release --rm-dist diff --git a/.github/workflows/test-verify.yml b/.github/workflows/test-verify.yml index 7706ac2..60b062c 100644 --- a/.github/workflows/test-verify.yml +++ b/.github/workflows/test-verify.yml @@ -1,4 +1,4 @@ -name: Go package +name: Test & Verify on: [push]