Skip to content

Commit 53ebb58

Browse files
committed
Add snapshot of github workflow from kernel-config (d6a592e7292c)
Signed-off-by: Salendarsingh Gaud <sgaud@qti.qualcomm.com>
1 parent 19272b3 commit 53ebb58

File tree

3 files changed

+54
-0
lines changed

3 files changed

+54
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: PR email addresses checker
2+
3+
on:
4+
pull_request:
5+
6+
jobs:
7+
pr-check-emails:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Check PR emails
11+
uses: qualcomm/commit-emails-check-action@main
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Kernel Checkers
2+
on:
3+
pull_request:
4+
5+
jobs:
6+
prepare:
7+
runs-on:
8+
group: GHA-Kernel-SelfHosted-RG
9+
labels: [ self-hosted, kernel-prd-u2404-x64-large-od-ephem ]
10+
steps:
11+
- name: Checkout PR Code
12+
uses: actions/checkout@v4
13+
with:
14+
fetch-depth: 0
15+
outputs:
16+
kernel_src: ${{ github.workspace }}
17+
base_sha: ${{ github.event.pull_request.base.sha }}
18+
head_sha: ${{ github.event.pull_request.head.sha }}
19+
20+
checker:
21+
needs: prepare
22+
uses: qualcomm-linux/kernel-checkers/.github/workflows/checker.yml@main
23+
with:
24+
check_name: ${{ matrix.check }}
25+
kernel_src: ${{ needs.prepare.outputs.kernel_src }}
26+
base_sha: ${{ needs.prepare.outputs.base_sha }}
27+
head_sha: ${{ needs.prepare.outputs.head_sha }}
28+
base_branch: ${{ github.base_ref }}
29+
pr_number: ${{ github.event.pull_request.number }}
30+
31+
strategy:
32+
matrix:
33+
check: [check-uapi-headers, sparse-check, checkpatch,
34+
dt-binding-check, dtb-check]
35+
fail-fast: false

.github/workflows/pre_merge.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
name: pre_merge
2+
on:
3+
pull_request_target:
4+
5+
jobs:
6+
pre-merge:
7+
uses: qualcomm-linux/kernel-config/.github/workflows/pre_merge.yml@main
8+
secrets: inherit

0 commit comments

Comments
 (0)