Skip to content

Commit aa530c8

Browse files
committed
github: eliminate duplicate CI runs for branch pushes
This prevents wasteful duplicate CI execution that occurred when pushing to a branch and creating a PR from it. Now only main branch pushes and PRs to main trigger CI, with ci-testing/* branches available for direct push-based workflow testing while blocking PRs from those branches. Generated-by: Claude AI Signed-off-by: Daniel Gomez <[email protected]>
1 parent 246fef5 commit aa530c8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/kdevops.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@ on:
77
- cron: '0 14 * * *' # Daily at 2 PM UTC
88
push:
99
branches:
10-
- '**'
10+
- main
11+
- 'ci-testing/**'
1112
pull_request:
1213
branches:
13-
- '**'
14+
- main
1415
workflow_dispatch:
1516
inputs:
1617
ci_workflow:

0 commit comments

Comments
 (0)