You've already forked docker-mailserver
mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-06-16 03:40:36 +02:00
Update contributor workflow
This commit is contained in:
20
.github/workflows/contributors.yml
vendored
20
.github/workflows/contributors.yml
vendored
@ -5,22 +5,32 @@ on:
|
||||
- cron: '0 0 * * *'
|
||||
|
||||
jobs:
|
||||
add-contributors:
|
||||
delete-old-branch:
|
||||
runs-on: ubuntu-latest
|
||||
continue-on-error: true
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Delete old contributors-update branch
|
||||
-
|
||||
name: Delete old contributors-update branch
|
||||
uses: dawidd6/action-delete-branch@v3
|
||||
with:
|
||||
github_token: ${{secrets.GITHUB_TOKEN}}
|
||||
branches: contributors-update
|
||||
- name: Create contributors-update branch
|
||||
|
||||
add-contributors:
|
||||
runs-on: ubuntu-latest
|
||||
needs: delete-old-branch
|
||||
steps:
|
||||
-
|
||||
uses: actions/checkout@v2
|
||||
-
|
||||
name: Create contributors-update branch
|
||||
uses: peterjgrainger/action-create-branch@v2.0.1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
branch: 'contributors-update'
|
||||
- name: Auto-add contributors
|
||||
-
|
||||
name: Auto-add contributors
|
||||
uses: BobAnkh/add-contributors@v0.2.2
|
||||
with:
|
||||
BRANCH: 'contributors-update'
|
||||
|
Reference in New Issue
Block a user