Merge pull request #377 from juanfont/smarter-contribute-pipeline

This commit is contained in:
Kristoffer Dalby 2022-03-02 11:17:02 +00:00 committed by GitHub
commit ccec534e19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,6 +10,13 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - 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
- uses: BobAnkh/add-contributors@v0.2.2 - uses: BobAnkh/add-contributors@v0.2.2
with: with:
CONTRIBUTOR: "## Contributors" CONTRIBUTOR: "## Contributors"