Skip to content

Commit ef172cd

Browse files
committed
actions: Skip toolchain check on branch creation
Do not trigger enforce-toolchain-synchronization.yml when branch is created. Workflow fails on new branches due to lack of reference revision. It impacts all backport PRs Signed-off-by: Jan Gałda <[email protected]>
1 parent 4989dd1 commit ef172cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ on:
1717
push:
1818
branches:
1919
- '**' # Triggers on pushes to any branch
20-
2120
jobs:
2221
check-prs:
22+
if: ${{ !github.event.created }} # Skip for new branches
2323
runs-on: ubuntu-latest
2424

2525
steps:

0 commit comments

Comments
 (0)