Skip to content

Commit 06097f9

Browse files
authored
ci: add commitMode github-api to trigger CI on version PR (Fission-AI#477)
* ci: use GitHub App token to trigger CI on version PR Replace GITHUB_TOKEN with a GitHub App token so that the version PR can trigger CI workflows. GITHUB_TOKEN cannot trigger workflows by design (to prevent infinite loops). Requires APP_ID variable and APP_PRIVATE_KEY secret to be configured. * ci: upgrade create-github-app-token to v2 * ci: add commitMode github-api to trigger CI on version PR
1 parent 8f5a526 commit 06097f9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/release-prepare.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ jobs:
5050
with:
5151
title: 'chore(release): version packages'
5252
createGithubReleases: true
53+
# Use github-api to attribute commits to the GitHub App, enabling CI triggers
54+
commitMode: github-api
5355
# Use CI-specific release script: relies on version PR having been merged
5456
# so package.json already contains the bumped version.
5557
publish: pnpm run release:ci

0 commit comments

Comments
 (0)