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
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
pull-requests: write
|
||||||
|
actions: write
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
@ -23,7 +25,8 @@ jobs:
|
|||||||
id: last-commit-message
|
id: last-commit-message
|
||||||
run: |
|
run: |
|
||||||
echo "::set-output name=msg::$(git log -1 --pretty=%s)"
|
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:
|
with:
|
||||||
commit_user_name: 55107282+release-please[bot]@users.noreply.github.com
|
commit_user_name: 55107282+release-please[bot]@users.noreply.github.com
|
||||||
commit_user_email: release-please[bot]
|
commit_user_email: release-please[bot]
|
||||||
|
Loading…
Reference in New Issue
Block a user