From 015ae865dd79c5caa1584a361b262ddd42942978 Mon Sep 17 00:00:00 2001 From: Thomas Sibley Date: Mon, 8 May 2023 17:00:48 -0700 Subject: [PATCH] pathogen-repo-ci: Support a continue-on-error pass thru MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Allows calling workflows to succeed even if the job in this called workflow fails. This is a workaround for the calling working being unable to specify continue-on-error itself.¹ Related-to: ¹ --- .github/workflows/pathogen-repo-ci.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/pathogen-repo-ci.yaml b/.github/workflows/pathogen-repo-ci.yaml index 81795c6..ef38e70 100644 --- a/.github/workflows/pathogen-repo-ci.yaml +++ b/.github/workflows/pathogen-repo-ci.yaml @@ -44,6 +44,13 @@ on: default: "" required: false + continue-on-error: + description: >- + Pass thru for . + type: boolean + default: false + required: false + permissions: contents: read packages: read @@ -51,6 +58,7 @@ permissions: jobs: build: runs-on: ubuntu-latest + continue-on-error: ${{ inputs.continue-on-error }} steps: # Log in, if possible, to docker.io (Docker Hub), since authenticated # requests get higher rate limits (e.g. for image pulls). Our org-level