Skip to content

Commit b411771

Browse files
roxanan1996PlaidCat
authored andcommitted
github actions: Trigger kernelCI on pull request as well
Since we now have a separate trigger for it, this has been renamed to match that. For the case where a PR was automatically created and there is been an update on the branch, both push and pr_request events are triggered. Only one is needed, therefore the second is automatically cancelled. Signed-off-by: Roxana Nicolescu <rnicolescu@ciq.com>
1 parent 6629f60 commit b411771

2 files changed

Lines changed: 24 additions & 11 deletions

File tree

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Trigger Automated kernel build and test (multi-arch)
2+
3+
on:
4+
push:
5+
branches:
6+
- '*_ciqlts9_6'
7+
pull_request:
8+
types: [opened, synchronize, reopened]
9+
branches:
10+
- '**'
11+
- '!mainline'
12+
13+
concurrency:
14+
group: kernel-ci-${{ github.event.pull_request.head.ref || github.ref_name }}
15+
cancel-in-progress: true
16+
17+
jobs:
18+
kernelCI:
19+
if: |
20+
github.event_name == 'push' ||
21+
github.event.pull_request.head.repo.full_name != github.repository ||
22+
github.event.action != 'opened'
23+
uses: ctrliq/kernel-src-tree/.github/workflows/kernel-build-and-test-multiarch-trigger.yml@main
24+
secrets: inherit

.github/workflows/kernel-build-and-test-multiarch.yml

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)