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:
parent
f72d9b6d90
commit
6d26eddf75
7
.github/workflows/create-release.yml
vendored
7
.github/workflows/create-release.yml
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user