Skip to content

Commit a8b5f99

Browse files
feat: add verifyConditions for GitHub token validation in release configuration
1 parent ec71345 commit a8b5f99

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

release.config.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ module.exports = {
1414
message: 'chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}'
1515
}],
1616
'@semantic-release/github'
17+
],
18+
verifyConditions: [
19+
'@semantic-release/github',
20+
{
21+
path: '@semantic-release/exec',
22+
cmd: 'echo $GH_TOKEN' // Ensure GH_TOKEN is available
23+
}
1724
]
1825
}
19-

0 commit comments

Comments
 (0)