Skip to content

Commit

Permalink
Update Actions And Stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Bwc9876 committed Nov 15, 2022
1 parent 5f71b64 commit 2dfd065
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
path: .\NewHorizons\Schemas

- name: Verify Changed Schemas
uses: tj-actions/verify-changed-files@v12
uses: tj-actions/verify-changed-files@v34
id: changed_files
with:
files: NewHorizons/Schemas/**
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/update_schemas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
steps:
- name: Checkout Repo
uses: actions/checkout@v3
with:
token: ${{ secrets.SCHEMAS_TOKEN }}

- name: Download Artifact
uses: actions/download-artifact@v3
Expand All @@ -28,13 +30,13 @@ jobs:

- name: Commit Schemas
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git config --local user.email "bwc9876@gmail.com"
git config --local user.name "Ben C"
git add NewHorizons/Schemas/**
git commit -m "Updated Schemas"
- name: Push Schemas
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.github_token }}
github_token: ${{ secrets.SCHEMAS_TOKEN }}
branch: ${{ github.ref }}
2 changes: 1 addition & 1 deletion NewHorizons/External/Configs/PlanetConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
namespace NewHorizons.External.Configs
{
/// <summary>
/// Describes a body to generate
/// Describes a celestial body to generate
/// </summary>
[JsonObject(Title = "Celestial Body")]
public class PlanetConfig
Expand Down

0 comments on commit 2dfd065

Please sign in to comment.