chore: add permissions to pre-release flow

This commit is contained in:
Randolf J 2022-06-01 15:32:07 +02:00
parent f2d8276d6e
commit d2a0ea34a3

View File

@ -10,6 +10,8 @@ jobs:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
actions: write
steps:
- name: Checkout
uses: actions/checkout@v3
@ -23,7 +25,8 @@ jobs:
id: last-commit-message
run: |
echo "::set-output name=msg::$(git log -1 --pretty=%s)"
- uses: stefanzweifel/git-auto-commit-action@v4
- name: Amend commit
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_user_name: 55107282+release-please[bot]@users.noreply.github.com
commit_user_email: release-please[bot]