Skip to content

Commit 2e32150

Browse files
committed
Add trigger types to CI and Documentation workflows
Added `types: [labeled, synchronize, opened, reopened]` to pull_request triggers in CI.yml and Documentation.yml for better control over when workflows run on PRs.
1 parent 4349b87 commit 2e32150

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/CI.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ on:
66
- main
77
tags: '*'
88
pull_request:
9-
9+
types: [labeled, synchronize, opened, reopened]
10+
1011
jobs:
1112
call:
1213
if: github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'run ci')

.github/workflows/Documentation.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ on:
66
- main
77
tags: '*'
88
pull_request:
9-
9+
types: [labeled, synchronize, opened, reopened]
10+
1011
jobs:
1112
call:
1213
if: github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'run documentation')

0 commit comments

Comments
 (0)