chore: add permissions to pre-release flow
This commit is contained in:
parent
f2d8276d6e
commit
d2a0ea34a3
5
.github/workflows/pre-release.yml
vendored
5
.github/workflows/pre-release.yml
vendored
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user