From 2b6a5173da1253150369515518dab017d9763296 Mon Sep 17 00:00:00 2001 From: Kristoffer Dalby Date: Wed, 2 Mar 2022 09:12:00 +0000 Subject: [PATCH] Allow upstream delete continue on failure --- .github/workflows/contributors.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/contributors.yml b/.github/workflows/contributors.yml index 5419129b..832abb9e 100644 --- a/.github/workflows/contributors.yml +++ b/.github/workflows/contributors.yml @@ -11,6 +11,9 @@ jobs: steps: - uses: actions/checkout@v2 - name: Delete upstream contributor branch + # Allow continue on failure to account for when the + # upstream branch is deleted or does not exist. + continue-on-error: true run: git push origin --delete update-contributors - name: Create up-to-date contributors branch run: git checkout -B update-contributors