1
0
mirror of https://github.com/simple-icons/simple-icons.git synced 2025-01-05 01:20:39 +02:00

Apply bot token to release-action

This commit is contained in:
LitoMore 2024-03-31 16:51:05 +08:00
parent f72d9b6d90
commit 6d26eddf75
No known key found for this signature in database
GPG Key ID: B8653F9344667340

View File

@ -23,10 +23,15 @@ jobs:
did-create-pr: ${{ steps.release.outputs.did-create-pr }} did-create-pr: ${{ steps.release.outputs.did-create-pr }}
new-version: ${{ steps.release.outputs.new-version }} new-version: ${{ steps.release.outputs.new-version }}
steps: steps:
- uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ vars.BOT_APP_ID }}
private-key: ${{ secrets.BOT_PRIVATE_KEY }}
- uses: simple-icons/release-action@v1 - uses: simple-icons/release-action@v1
id: release id: release
with: with:
repo-token: ${{ secrets.GITHUB_TOKEN }} repo-token: ${{ steps.app-token.outputs.token }}
version-bump: version-bump:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: release-pr needs: release-pr