Skip to content

Commit 3debd2e

Browse files
amikofalvyclaude
andauthored
fix(ci): configure git remote with App token in release workflow (#2901)
The changesets/action pushes commits using the default GITHUB_TOKEN credential, which GitHub ignores for triggering downstream workflows. This left the Version Packages PR (#2881) stuck with required checks (ci, Cypress E2E, Create Agents E2E) permanently waiting. Configures the git remote URL with the inkeep-internal-ci App token before changesets/action runs — same pattern applied to ci.yml and auto-format.yml in #2871. Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent c5e862d commit 3debd2e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,14 @@ jobs:
6666
app-id: ${{ secrets.INTERNAL_CI_APP_ID }}
6767
private-key: ${{ secrets.INTERNAL_CI_APP_PRIVATE_KEY }}
6868

69+
# Set the git remote URL to use the App token so that commits pushed by
70+
# changesets/action trigger downstream CI workflows. Without this, the
71+
# push uses the default GITHUB_TOKEN which GitHub ignores for triggering.
72+
- name: Configure git remote with App token
73+
run: git remote set-url origin "https://x-access-token:${APP_TOKEN}@github.com/${GITHUB_REPOSITORY}.git"
74+
env:
75+
APP_TOKEN: ${{ steps.app-token.outputs.token }}
76+
6977
- name: Publish packages
7078
id: changesets
7179
uses: changesets/action@6a0a831ff30acef54f2c6aa1cbbc1096b066edaf # v1

0 commit comments

Comments
 (0)