I’ve recently run into an issue where my GitLab pipeline gets stuck after executing npx semantic release. This pipeline has been running smoothly until now, and I haven’t made any changes that would explain the failure.
Here’s what I observe in the logs:
$ npx semantic-release
[2:36:25 PM] [semantic-release] › ℹ Running semantic-release version 21.1.2
[2:36:26 PM] [semantic-release] › ✔ Loaded plugin "verifyConditions" from "@semantic-release/gitlab"
...
[2:38:01 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "@semantic-release/commit-analyzer"
[10:11:58 PM] [semantic-release] › ℹ Start step "prepare" of plugin "@semantic-release/git"
[10:12:02 PM] [semantic-release] [@semantic-release/git] › ℹ Found 2 file(s) to commit
[8:00:41 AM] [semantic-release] › ✘ Failed step "prepare" of plugin "@semantic-release/git"
1