Skip to content

Commit c12b5d1

Browse files
Fix: Workflow trigger updated to run only on PRs to main (#7087)
The metalava-semver-check.yml workflow was previously configured to run on all pull requests. This change updates the trigger to only run on pull requests that target the `main` branch. Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
1 parent cf02f16 commit c12b5d1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/metalava-semver-check.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: Metalava SemVer Check
22

33
on:
44
pull_request:
5+
branches:
6+
- main
57

68
jobs:
79
semver-check:

0 commit comments

Comments
 (0)