From fdad3fc98568b5eff7c0f2729b868b8c12ce7c77 Mon Sep 17 00:00:00 2001 From: Finlay Davidson Date: Sun, 10 Jul 2022 16:46:24 +0200 Subject: Fix Docker workflow not pushing on manual trigger Also fix issue where workflow fails on pull requests when the user who made the pull request doesn't have the secrets set. Also allow other workflows to be triggered manually. Also don't trigger any workflows on pull requests to master, as there shouldn't be any pull requests against master. --- .github/workflows/lv_sim.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '.github/workflows/lv_sim.yml') diff --git a/.github/workflows/lv_sim.yml b/.github/workflows/lv_sim.yml index 90ba4a76..951b3c8d 100644 --- a/.github/workflows/lv_sim.yml +++ b/.github/workflows/lv_sim.yml @@ -9,10 +9,12 @@ on: - 'doc/**' - 'images/**' pull_request: - branches: [ master, develop ] + branches: [ develop ] paths-ignore: - 'doc/**' - 'images/**' + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: jobs: build: -- cgit v1.2.3-70-g09d2