Skip to content

Commit 7ba29db

Browse files
authored
ci: Fix auto-release (#1082)
1 parent 45bc72b commit 7ba29db

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/release-automated.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,18 @@ jobs:
2929
uses: actions/checkout@v6
3030
with:
3131
fetch-depth: 0
32-
persist-credentials: false
32+
token: ${{ secrets.RELEASE_GITHUB_TOKEN }}
3333
- name: Setup Node.js
3434
uses: actions/setup-node@v4
3535
with:
3636
node-version: 24
3737
cache: 'npm'
3838
- name: Install dependencies
3939
run: npm ci
40+
- name: Configure git credentials
41+
run: |
42+
git config --global user.name "github-actions[bot]"
43+
git config --global user.email "github-actions[bot]@users.noreply.github.com"
4044
- name: Run semantic-release for dart package
4145
run: npx semantic-release
4246
working-directory: packages/dart

0 commit comments

Comments
 (0)