Skip to content

Commit f08ae3a

Browse files
committed
Switch to the official action for creating GitHub App token
1 parent 8b56dc3 commit f08ae3a

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/release.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,18 @@ jobs:
2121
with:
2222
go-version-file: '.go-version'
2323
- name: Generate github app token
24-
id: generate_github_app_token
25-
uses: tibdex/github-app-token@f717b5ecd4534d3c4df4ce9b5c1c2214f0f7cd06 # v1.6.0
24+
uses: actions/create-github-app-token@31c86eb3b33c9b601a1f60f98dcbfd1d70f379b4 # v1.10.3
25+
id: app-token
2626
with:
27-
app_id: ${{ secrets.APP_ID }}
28-
private_key: ${{ secrets.APP_PRIVATE_KEY }}
29-
repository: minamijoyo/homebrew-tfedit
27+
app-id: ${{ secrets.APP_ID }}
28+
private-key: ${{ secrets.APP_PRIVATE_KEY }}
29+
owner: ${{ github.repository_owner }}
30+
repositories: homebrew-tfedit
3031
- name: Run GoReleaser
3132
uses: goreleaser/goreleaser-action@v6
3233
with:
3334
version: "~> v2"
3435
args: release --clean
3536
env:
3637
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37-
HOMEBREW_TAP_GITHUB_TOKEN: ${{ steps.generate_github_app_token.outputs.token }}
38+
HOMEBREW_TAP_GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}

0 commit comments

Comments
 (0)