Skip to content

Commit 221136a

Browse files
committed
ci: fix changelogen not pushing code
1 parent 1039e07 commit 221136a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/publish.yml

+7
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ on:
2424

2525
permissions:
2626
id-token: write
27+
contents: write
2728

2829
jobs:
2930
publish:
@@ -32,6 +33,12 @@ jobs:
3233
steps:
3334
- uses: actions/checkout@v4
3435

36+
- name: Setup git
37+
run: |
38+
# https://github.com/actions/checkout?tab=readme-ov-file#push-a-commit-using-the-built-in-token
39+
git config user.name "github-actions[bot]"
40+
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
41+
3542
- run: corepack enable
3643

3744
- uses: actions/setup-node@v4

0 commit comments

Comments
 (0)