Skip to content
This repository was archived by the owner on Apr 3, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes#configuring-automatically-generated-release-notes

changelog:
exclude:
labels:
- tagpr
categories:
- title: 💥 Breaking Changes
labels:
Expand Down
20 changes: 0 additions & 20 deletions .github/workflows/add_to_octokit_project.yml

This file was deleted.

10 changes: 8 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Fetch GitHub App Token
uses: actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e # v2.0.6
id: token
with:
app-id: ${{ secrets.GH_APP_TAGPR_ID }}
private-key: ${{ secrets.GH_APP_TAGPR_PKEY }}

- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
# Allow goreleaser to access older tag information.
Expand All @@ -40,6 +47,5 @@ jobs:
args: release --clean
version: latest
env:
# GitHub sets the GITHUB_TOKEN secret automatically.
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ steps.token.outputs.token }}
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
39 changes: 39 additions & 0 deletions .github/workflows/tagpr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: tagpr

on:
push:
branches:
- main

permissions:
contents: write
pull-requests: write
actions: write

jobs:
tagpr:
runs-on: ubuntu-latest
steps:
- name: Fetch GitHub App Token
uses: actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e # v2.0.6
id: token
with:
app-id: ${{ secrets.GH_APP_TAGPR_ID }}
private-key: ${{ secrets.GH_APP_TAGPR_PKEY }}

- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
token: ${{ steps.token.outputs.token }}

- name: Set up Go
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
with:
go-version-file: 'go.mod'
cache: true

- name: Run tagpr
uses: Songmu/tagpr@9c294c8b7b1815a5f3b7c61d6ee6aa50ac25b030 # v1.8.4
env:
GITHUB_TOKEN: ${{ steps.token.outputs.token }}

Loading