Skip to content

chore(deps): update 5ouma/utils digest to 4ed857c (#227) #125

chore(deps): update 5ouma/utils digest to 4ed857c (#227)

chore(deps): update 5ouma/utils digest to 4ed857c (#227) #125

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@3dca11e7c0d68637ee212ddd35acc3d30a7403a4 # v1.5.0
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@5d869da34e18e7287c1daad50e0b8ea0f506ce69 # v1.11.0
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 }}