Update Contrib and Patreons in credits #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update Contrib and Patreons in credits | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: 0 0 * * 0 | |
jobs: | |
get_credits: | |
runs-on: ubuntu-latest | |
# Hey there fork dev! If you like to include your own contributors in this then you can probably just change this to your own repo | |
# Do this in dump_github_contributors.ps1 too into your own repo | |
if: github.repository == 'DeltaV-Station/Delta-v-rebase' | |
steps: | |
- uses: actions/[email protected] | |
with: | |
ref: master | |
- name: Get this week's Contributors | |
shell: pwsh | |
run: Tools/dump_github_contributors.ps1 > Resources/Credits/GitHub.txt | |
# TODO | |
#- name: Get this week's Patreons | |
# run: Tools/script2dumppatreons > Resources/Credits/Patrons.yml | |
- name: Commit new credit files | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: Update Credits | |
commit_author: DeltaV-Bot <[email protected]> |