Skip to content

Commit d30dc22

Browse files
authored
ci: Limit the kernel push only to branch pushes (#137)
## Description Avoids building the kernel for tag pushes. ## Why is this needed The kernel builds are currently filtering the events that cause the build depending on the path of files changed. The path filter is not evaluated for tag pushes though. This causes the kernel to be re-pushed on tags which is unexpected and confusing. I'd rather avoid confusion in the kernel build/push process if possible.
2 parents 494f99a + c43967e commit d30dc22

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/kernel-push.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
paths:
55
- kernel/**
66
- "!kernel/README.md"
7+
branches:
8+
- "**"
79
jobs:
810
kernel-publish:
911
runs-on: self-hosted

0 commit comments

Comments
 (0)