Skip to content

Commit 2ad7c0f

Browse files
msarahancursoragent
andcommitted
Add workflow_dispatch to allow manual baseline creation
Enables bootstrapping the initial c-abi-baseline-main artifact Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 53a431f commit 2ad7c0f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/check-c-abi.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: C ABI Compatibility Check
22

33
on:
4+
workflow_dispatch: # Allow manual trigger for bootstrap
45
workflow_call:
56
pull_request:
67
paths:
@@ -21,7 +22,7 @@ concurrency:
2122
jobs:
2223
# Extract and store baseline ABI from main branch
2324
update-baseline:
24-
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
25+
if: github.event_name == 'workflow_dispatch' || (github.event_name == 'push' && github.ref == 'refs/heads/main')
2526
runs-on: ubuntu-latest
2627
steps:
2728
- name: Checkout main branch

0 commit comments

Comments
 (0)