Skip to content

Commit 206990b

Browse files
committed
actions: Limit Toolchain Sync execution
Action should be run only on branches which are targets of PRs. Signed-off-by: Jan Gałda <[email protected]> (cherry picked from commit 1c2673a)
1 parent 40ed8dd commit 206990b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/enforce-toolchain-synchronization.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@ name: Enforce rebasing Pull Requests if Toolchain was modified on target branch
1515

1616
on:
1717
push:
18-
branches:
19-
- '**' # Triggers on pushes to any branch
18+
branches: # Trigger on push to main and release branches
19+
- main
20+
- 'v*-branch'
2021
jobs:
2122
check-prs:
2223
if: ${{ !github.event.created }} # Skip for new branches

0 commit comments

Comments
 (0)