From 749845c53cce9a9e571b9a8aea2e3e394638990e Mon Sep 17 00:00:00 2001 From: Federico Di Pierro Date: Wed, 13 Sep 2023 10:23:45 +0200 Subject: [PATCH] chore(ci): improve latest-kernel workflow. Signed-off-by: Federico Di Pierro --- .github/workflows/latest-kernel.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/latest-kernel.yml b/.github/workflows/latest-kernel.yml index 73d209268f..72dada1ec2 100644 --- a/.github/workflows/latest-kernel.yml +++ b/.github/workflows/latest-kernel.yml @@ -4,8 +4,8 @@ on: workflow_dispatch: inputs: linux-version: - description: 'Archlinux kernel version to build a driver against, eg: 6.2.arch1-1' - required: true + description: 'Archlinux kernel version to build a driver against, eg: 6.2.arch1-1 or empty to build latest mainline' + required: false type: string schedule: - cron: '0 8 * * *' # every day at 8am @@ -59,7 +59,7 @@ jobs: - name: Update README badge uses: schneegans/dynamic-badges-action@v1.6.0 - if: always() && inputs.linux-version == '' + if: always() && github.event_name == 'schedule' with: auth: ${{ secrets.FEDEDP_GIST_SECRET }} gistID: 1cbc5d42edf8e3a02fb75e76625f1072