Skip to content

Commit

Permalink
ci: Limit the kernel push only to branch pushes (#137)
Browse files Browse the repository at this point in the history
## 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.
  • Loading branch information
mergify[bot] authored Jun 21, 2022
2 parents 494f99a + c43967e commit d30dc22
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/kernel-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
paths:
- kernel/**
- "!kernel/README.md"
branches:
- "**"
jobs:
kernel-publish:
runs-on: self-hosted
Expand Down

0 comments on commit d30dc22

Please sign in to comment.