fix: instruct GoReleaser to use current tag (backport #4044) #6217
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci-release | |
# Run this workflow on push events (i.e. PR merge) to main or release branches, | |
# push events for new semantic version tags, and all PRs. | |
on: | |
push: | |
branches: | |
- main | |
- "v*" | |
tags: | |
- "v*" | |
pull_request: | |
jobs: | |
lint: | |
uses: ./.github/workflows/lint.yml | |
markdown-linter: | |
uses: ./.github/workflows/markdown-linter.yml | |
test: | |
uses: ./.github/workflows/test.yml | |
goreleaser: | |
uses: ./.github/workflows/goreleaser.yml | |
permissions: write-all | |
secrets: | |
GORELEASER_ACCESS_TOKEN: ${{ secrets.GORELEASER_ACCESS_TOKEN }} |