From 3674b7b2de3eeadea23c3d0b53cb3cc8452d7578 Mon Sep 17 00:00:00 2001 From: Florian Zschocke Date: Sun, 14 Nov 2021 12:03:46 +0100 Subject: [PATCH] ci: Allow to force build a nightly version Enable a switch for manual workflow triggering that overrides the check if a new commits were made since the last build. If the input is set to 'true', a new build is run even when no new commits are present. This is mainly so that changes to the gitblit-docker repo can be included in builds. This could also be automated in the workflow, if need be. --- .github/workflows/nightly-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/nightly-build.yml b/.github/workflows/nightly-build.yml index 40995342..ff6f4b8c 100644 --- a/.github/workflows/nightly-build.yml +++ b/.github/workflows/nightly-build.yml @@ -63,7 +63,7 @@ jobs: name: build GO runs-on: ubuntu-latest needs: check_commits - if: ${{ needs.check_commits.outputs.build == 'true' }} + if: ${{ needs.check_commits.outputs.build == 'true' || github.event.inputs.forced == 'true' }} steps: -- 2.39.5