chore(ci): add human‑readable names to GitHub Actions jobs #55
This file contains hidden or 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: Release Please | |
| permissions: {} | |
| defaults: | |
| run: | |
| shell: bash | |
| on: | |
| push: | |
| branches: | |
| - main | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: false | |
| jobs: | |
| release-please: | |
| name: Release Please | |
| timeout-minutes: 10 | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write # for create a release | |
| pull-requests: write # for open a pull request | |
| issues: write # for create labels | |
| outputs: | |
| should-release: ${{ steps.release-please.outputs.release_created }} | |
| steps: | |
| - uses: googleapis/release-please-action@16a9c90856f42705d54a6fda1823352bdc62cf38 # v4.4.0 | |
| id: release-please | |
| with: | |
| release-type: simple | |
| token: ${{ github.token }} | |
| release: | |
| name: Release | |
| needs: release-please | |
| if: ${{ needs.release-please.outputs.should-release == 'true' }} | |
| timeout-minutes: 10 | |
| permissions: | |
| contents: write # for create a release and push assets | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1 | |
| with: | |
| persist-credentials: false | |
| fetch-depth: 0 | |
| - uses: ./.github/actions/setup | |
| - run: goreleaser release --clean | |
| env: | |
| GITHUB_TOKEN: ${{ github.token }} | |
| TAP_GITHUB_TOKEN: ${{ secrets.TAP_GITHUB_TOKEN }} |