Skip to content

Commit ba4c97b

Browse files
fix(ci): drop [skip ci] from release commits instead of dispatching cloud prod
`[skip ci]` on the release commit also suppressed the push event for the release tag, so release-cloud-prod.yml never ran on tag push. Removing it lets the tag push trigger the cloud prod build (and the main push trigger the cloud staging build), so the explicit dispatch job is no longer needed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 9f85bb7 commit ba4c97b

1 file changed

Lines changed: 1 addition & 22 deletions

File tree

‎.github/workflows/release-prod.yml‎

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ jobs:
145145
- name: Commit changes
146146
run: |
147147
git add CHANGELOG.md packages/shared/src/version.ts docs/api-reference/sourcebot-public.openapi.json
148-
git commit -m "[skip ci] Release v$VERSION"
148+
git commit -m "Release v$VERSION"
149149
150150
- name: Push to temporary branch
151151
id: push_temp_branch
@@ -247,27 +247,6 @@ jobs:
247247
--generate-notes \
248248
--latest
249249
250-
# The release commit is marked `[skip ci]`, which also suppresses the `push`
251-
# event for the tag that points at it, so the tag push alone never starts the
252-
# cloud prod build. Dispatch it explicitly against the new tag instead.
253-
# (workflow_dispatch is one of the events GITHUB_TOKEN is allowed to trigger.)
254-
release-cloud-prod:
255-
needs: [prepare-release, finalize-release]
256-
runs-on: ubuntu-latest
257-
permissions:
258-
actions: write
259-
260-
steps:
261-
- name: Dispatch cloud production release
262-
env:
263-
GH_TOKEN: ${{ github.token }}
264-
VERSION: ${{ needs.prepare-release.outputs.version }}
265-
run: |
266-
gh workflow run release-cloud-prod.yml \
267-
--repo "$GITHUB_REPOSITORY" \
268-
--ref "v$VERSION"
269-
echo "Dispatched release-cloud-prod.yml for v$VERSION"
270-
271250
publish-to-registry:
272251
needs: [prepare-release, build, finalize-release]
273252
uses: ./.github/workflows/_merge.yml

0 commit comments

Comments
 (0)