Skip to content

chore(deps): update songmu/tagpr action to v1.5.1 (#264) #163

chore(deps): update songmu/tagpr action to v1.5.1 (#264)

chore(deps): update songmu/tagpr action to v1.5.1 (#264) #163

Workflow file for this run

name: πŸš€ Release
on:
push:
branches:
- main
workflow_dispatch:
jobs:
tagpr:
name: 🏷️ Release a New Version
permissions:
contents: write
pull-requests: write
runs-on: Ubuntu-Latest
outputs:
tag: ${{ steps.tagpr.outputs.tag }}
steps:
- name: 🚚 Checkout Repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: 🏷️ Release a New Version
id: tagpr
uses: Songmu/tagpr@e89d37247ca73d3e5620bf074a53fbd5b39e66b0 # v1.5.1
with:
config: .github/tagpr.ini
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
release:
name: πŸš€ Build and Release
permissions:
contents: write
needs: tagpr
if: ${{ needs.tagpr.outputs.tag != '' }}
runs-on: Ubuntu-Latest
steps:
- name: 🚚 Checkout Repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0
- name: 🐹 Setup Go
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
with:
go-version-file: go.mod
- name: πŸ’³ Create GitHub App Token
uses: actions/create-github-app-token@c1a285145b9d317df6ced56c09f525b5c2b6f755 # v1.11.1
id: app-token
with:
app-id: ${{ secrets.APP_ID }}
private-key: ${{ secrets.PRIVATE_KEY }}
owner: ${{ github.repository_owner }}
repositories: homebrew-formula
- name: πŸš€ Build and Release with GoReleaser
uses: goreleaser/goreleaser-action@9ed2f89a662bf1735a48bc8557fd212fa902bebf # v6.1.0
with:
args: release --clean --config=.github/goreleaser.yml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HOMEBREW_TAP_TOKEN: ${{ steps.app-token.outputs.token }}