1
0
mirror of https://github.com/simple-icons/simple-icons.git synced 2024-12-16 01:10:30 +02:00
simple-icons/.github/workflows/merge-release.yml

19 lines
506 B
YAML
Raw Normal View History

name: Merge Release Pull Request
on:
pull_request_review:
types: [submitted]
jobs:
release:
runs-on: ubuntu-latest
if: contains(github.event.pull_request.labels.*.name, 'release')
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
with:
repo-token: ${{ steps.app-token.outputs.token }}