Skip to content

Commit

Permalink
Update the Credits Action (#28)
Browse files Browse the repository at this point in the history
# Description

On a repository (and organization) level, I have enabled Actions to
create and approve pull requests.
This PR will have the in-game GitHub contributor credits automatically
updated every week.
  • Loading branch information
DEATHB4DEFEAT authored Mar 22, 2024
1 parent 0548c63 commit b58ef28
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/update-credits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
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'
if: github.repository == 'Simple-Station/Einstein-Engines'

steps:
- uses: actions/checkout@v3.6.0
Expand Down Expand Up @@ -47,6 +47,6 @@ jobs:
with:
commit-message: Update Credits
title: Update Credits
body: This is an automated Pull Request. This PR updates the github contributors in the credits section.
author: DeltaV-Bot <github@delta-v.org>
body: This is an automated Pull Request. This PR updates the GitHub contributors in the credits section.
author: ${{ vars.CHANGELOG_USER }} <${{ vars.CHANGELOG_EMAIL }}>
branch: automated/credits-${{env.NOW}}
2 changes: 1 addition & 1 deletion Tools/dump_github_contributors.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function load_contribs([string] $repo)
}

$engineJson = load_contribs("space-wizards/RobustToolbox")
$contentJson = load_contribs("DeltaV-Station/Delta-v-rebase")
$contentJson = load_contribs("Simple-Station/Einstein-Engines")

($engineJson).login + ($contentJson).login `
| select -unique `
Expand Down

0 comments on commit b58ef28

Please sign in to comment.