Skip to content

Commit 18b5a65

Browse files
authored
fix release proposal workflow commit permissions (#5569)
1 parent 1533b16 commit 18b5a65

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/release-proposal.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
create-proposal:
2525
runs-on: ubuntu-latest
2626
permissions:
27-
contents: read
27+
contents: write
2828
pull-requests: write
2929
env:
3030
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -37,5 +37,7 @@ jobs:
3737
- run: |
3838
mkdir -p ~/.config/changelog-maker
3939
echo "{\"token\":\"${{secrets.GITHUB_TOKEN}}\",\"user\":\"${{github.actor}}\"}" > ~/.config/changelog-maker/config.json
40+
git config user.name ${{ github.actor }}
41+
git config user.email ${{ github.actor }}@users.noreply.github.com
4042
- run: node scripts/release/proposal 5 -y --{{ inputs.increment }}
4143
if: inputs.release-line == 'all' || inputs.release-line == '5'

0 commit comments

Comments
 (0)