Skip to content

Commit e4d96f2

Browse files
tbitcsoz-agent
andcommitted
ci: add develop branch coverage + restrict dev-release to develop only
- ci.yml: trigger on both main and develop pushes/PRs - dev-release.yml: add job-level if to block workflow_dispatch from main; dev builds only fire from develop branch Co-Authored-By: Oz <oz-agent@warp.dev>
1 parent dc7c004 commit e4d96f2

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: CI
22

33
on:
44
push:
5-
branches: [main]
5+
branches: [main, develop]
66
pull_request:
7-
branches: [main]
7+
branches: [main, develop]
88

99
concurrency:
1010
group: ci-${{ github.ref }}

.github/workflows/dev-release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ permissions:
1111
jobs:
1212
test:
1313
runs-on: ubuntu-latest
14+
# Only run from the develop branch — blocks accidental workflow_dispatch from main.
15+
if: github.ref == 'refs/heads/develop'
1416
steps:
1517
- uses: actions/checkout@v6
1618
- uses: actions/setup-python@v6

0 commit comments

Comments
 (0)