Allow upstream delete continue on failure

This commit is contained in:
Kristoffer Dalby 2022-03-02 09:12:00 +00:00 committed by GitHub
parent 32ac690494
commit 2b6a5173da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -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