a96ece87093119473d02f49ed212ad57485cd029
[openwrt/staging/hauke.git] / .github / workflows / kernel.yml
1 name: Build Kernel
2
3 on:
4 pull_request:
5 paths:
6 - '.github/workflows/check-kernel-patches.yml'
7 - '.github/workflows/build.yml'
8 - '.github/workflows/kernel.yml'
9 - 'include/kernel*'
10 - 'package/kernel/**'
11 - 'target/linux/**'
12 push:
13 paths:
14 - '.github/workflows/check-kernel-patches.yml'
15 - '.github/workflows/build.yml'
16 - '.github/workflows/kernel.yml'
17 - 'include/kernel*'
18 - 'package/kernel/**'
19 - 'target/linux/**'
20 branches-ignore:
21 - master
22
23 permissions:
24 contents: read
25
26 concurrency:
27 group: ${{ github.workflow }}-${{ github.ref }}
28 cancel-in-progress: ${{ github.event_name == 'pull_request' }}
29
30 jobs:
31 build-kernels:
32 name: Build all affected Kernels
33 permissions:
34 contents: read
35 packages: read
36 actions: write
37 secrets:
38 ccache_s3_access_key: ${{ secrets.CCACHE_S3_ACCESS_KEY }}
39 ccache_s3_secret_key: ${{ secrets.CCACHE_S3_SECRET_KEY }}
40 uses: openwrt/actions-shared-workflows/.github/workflows/kernel.yml@main