From 26a9093d4334e36d2c0750982630d2a3667622a4 Mon Sep 17 00:00:00 2001 From: buty4649 Date: Wed, 21 Feb 2024 01:46:51 +0900 Subject: [PATCH] Add GitHub app token creation and update homebrew-tap workflow --- .github/workflows/release.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d275827..5ba5ac3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,3 +32,15 @@ jobs: VERSION=$(echo ${{ github.ref }} | sed -e "s#refs/tags/##g") echo "VERSION: ${VERSION}" gh release create $VERSION --generate-notes release/*.tar.gz release/*.zip release/checksums.txt + + - uses: actions/create-github-app-token@v1 + id: app-token + with: + app-id: 831852 + private-key: ${{ secrets.WORKFLOW_KICKER_PRIVATE_KEY }} + owner: buty4649 + repositories: homebrew-tap + - name: Run update workflow for homebrew-tap + run: gh workflow run update.yml --repo buty4649/homebrew-tap --ref main + env: + GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}