Skip to content

Commit 56917a9

Browse files
committed
chore: update ReleaseKit action configuration in workflow
- Added `git config --global --add safe.directory` to ensure the GitHub Actions runner recognizes the workspace as a safe directory. - Reintroduced `skip-checkout: 'true'` in the ReleaseKit action to prevent cleaning of built packages during the release process.
1 parent 3025668 commit 56917a9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/_release.reusable.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@ jobs:
216216
run: |
217217
git config user.name "github-actions[bot]"
218218
git config user.email "github-actions[bot]@users.noreply.github.com"
219+
git config --global --add safe.directory "${{ github.workspace }}"
219220
220221
- name: Run ReleaseKit
221222
id: releasekit
@@ -232,6 +233,7 @@ jobs:
232233
project-dir: .
233234
verbose: 'true'
234235
summary: 'true'
236+
skip-checkout: 'true'
235237
env:
236238
GITHUB_TOKEN: ${{ github.token }}
237239
CARGO_REGISTRY_TOKEN: ${{ secrets.crates_io_token }}

0 commit comments

Comments
 (0)