refactor: Ensure compatibility with protobuf standards and improve logical clarity #6368
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*" | |
release: | |
types: [published] | |
pull_request: | |
jobs: | |
lint: | |
uses: ./.github/workflows/lint.yml | |
markdown-linter: | |
uses: ./.github/workflows/markdown-linter.yml | |
test: | |
uses: ./.github/workflows/test.yml | |
goreleaser: | |
if: github.event_name == 'release' | |
uses: ./.github/workflows/goreleaser.yml | |
permissions: write-all | |
secrets: | |
GORELEASER_ACCESS_TOKEN: ${{ secrets.GORELEASER_ACCESS_TOKEN }} |