aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/check-kernel-patches.yml
diff options
context:
space:
mode:
authorChristian Marangi <ansuelsmth@gmail.com>2023-01-23 19:47:41 +0100
committerChristian Marangi <ansuelsmth@gmail.com>2023-01-31 16:36:57 +0100
commit6f89a0ca20505e85f53bdd5573f26e443e961257 (patch)
tree25fcba0f4f88169a9f16ee15d0afa9d8d1d57c15 /.github/workflows/check-kernel-patches.yml
parent91add68e50ea71b92f8528cba01de0017a15492b (diff)
downloadupstream-6f89a0ca20505e85f53bdd5573f26e443e961257.tar.gz
upstream-6f89a0ca20505e85f53bdd5573f26e443e961257.tar.bz2
upstream-6f89a0ca20505e85f53bdd5573f26e443e961257.zip
CI: use openwrt official tools container by default
Use openwrt official tools container by default. Fork will use openwrt tools container by default. This can be disabled by setting the option use_openwrt_container to false for the build.yml and check-kernel-patches.yml. The push-containers workflow is disabled on forks. The workflow can be reenabled by commenting the condition in push-containers.yml. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Diffstat (limited to '.github/workflows/check-kernel-patches.yml')
-rw-r--r--.github/workflows/check-kernel-patches.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.github/workflows/check-kernel-patches.yml b/.github/workflows/check-kernel-patches.yml
index 7e0fe5071a..50a6d1495c 100644
--- a/.github/workflows/check-kernel-patches.yml
+++ b/.github/workflows/check-kernel-patches.yml
@@ -8,6 +8,9 @@ on:
type: string
testing:
type: boolean
+ use_openwrt_container:
+ type: boolean
+ default: true
permissions:
contents: read
@@ -26,6 +29,11 @@ jobs:
run: |
OWNER_LC=$(echo "${{ github.repository_owner }}" \
| tr '[:upper:]' '[:lower:]')
+
+ if [ ${{ inputs.use_openwrt_container }} == "true" ]; then
+ OWNER_LC=openwrt
+ fi
+
echo "owner_lc=$OWNER_LC" >> $GITHUB_OUTPUT
# Per branch tools container tag