From 13f28e90cf9c4797bff7369ec956647f5067ef94 Mon Sep 17 00:00:00 2001 From: Debug <49997488+DebugOk@users.noreply.github.com> Date: Sat, 14 Oct 2023 22:53:18 +0200 Subject: [PATCH] Update Contributor Changelog --- .github/workflows/update-credits.yml | 14 +++++++------- Tools/dump_github_contributors.ps1 | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/update-credits.yml b/.github/workflows/update-credits.yml index 09844f4c19d..e0333096c41 100644 --- a/.github/workflows/update-credits.yml +++ b/.github/workflows/update-credits.yml @@ -4,29 +4,29 @@ 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 == 'space-wizards/space-station-14' - + if: github.repository == 'DeltaV-Station/Delta-v-rebase' + steps: - uses: actions/checkout@v3.6.0 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 - + # 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: PJBot + commit_author: DeltaV-Bot diff --git a/Tools/dump_github_contributors.ps1 b/Tools/dump_github_contributors.ps1 index 51d8612b28a..68b1d7f426d 100755 --- a/Tools/dump_github_contributors.ps1 +++ b/Tools/dump_github_contributors.ps1 @@ -27,7 +27,7 @@ function load_contribs([string] $repo) } $engineJson = load_contribs("space-wizards/RobustToolbox") -$contentJson = load_contribs("space-wizards/space-station-14") +$contentJson = load_contribs("DeltaV-Station/Delta-v-rebase") ($engineJson).login + ($contentJson).login ` | select -unique `