From 5b82576dbf6eec4e6acc45f5c67e3c2093351607 Mon Sep 17 00:00:00 2001 From: albertony <12441419+albertony@users.noreply.github.com> Date: Sun, 22 Jan 2023 00:54:02 +0100 Subject: [PATCH] build: fix condition for manual workflow run See #5275 --- .github/workflows/build.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7c56e8d38..e2e15da4b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,12 +15,14 @@ on: workflow_dispatch: inputs: manual: + description: Manual run (bypass default conditions) + type: boolean required: true default: true jobs: build: - if: ${{ github.repository == 'rclone/rclone' || github.event.inputs.manual }} + if: ${{ github.repository == 'rclone/rclone' || github.event.inputs.manual == 'true' }} timeout-minutes: 60 strategy: fail-fast: false @@ -218,7 +220,7 @@ jobs: if: matrix.deploy && github.head_ref == '' && github.repository == 'rclone/rclone' lint: - if: ${{ github.repository == 'rclone/rclone' || github.event.inputs.manual }} + if: ${{ github.repository == 'rclone/rclone' || github.event.inputs.manual == 'true' }} timeout-minutes: 30 name: "lint" runs-on: ubuntu-latest @@ -247,7 +249,7 @@ jobs: run: govulncheck ./... android: - if: ${{ github.repository == 'rclone/rclone' || github.event.inputs.manual }} + if: ${{ github.repository == 'rclone/rclone' || github.event.inputs.manual == 'true' }} timeout-minutes: 30 name: "android-all" runs-on: ubuntu-latest