Skip to content

Commit 68a2612

Browse files
jdeveraclaude
andcommitted
chore(ci): gate release on CI passing
Make CI workflow callable and add it as a dependency of the release job, so broken tests or lint block the release. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 014cedd commit 68a2612

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
branches: [main]
66
pull_request:
77
branches: [main]
8+
workflow_call:
89

910
jobs:
1011
test:

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@ permissions:
99
contents: write
1010

1111
jobs:
12+
ci:
13+
uses: ./.github/workflows/ci.yml
14+
1215
release:
16+
needs: ci
1317
runs-on: ubuntu-latest
1418
steps:
1519
- name: Checkout

0 commit comments

Comments
 (0)