-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into medibot-resprite
- Loading branch information
Showing
697 changed files
with
9,217 additions
and
4,189 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
name: Update sunrise changelog | ||
|
||
on: | ||
push: | ||
branches: [master] | ||
pull_request: | ||
types: [closed] | ||
branches: [master] | ||
|
||
jobs: | ||
update_changelog: | ||
if: github.event.pull_request.merged == true && github.event.commits[0].author.name != 'GitHubActions' | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
token: ${{ secrets.GH_TOKEN }} | ||
|
||
- name: Configure git | ||
run: | | ||
git config user.name "GitHubActions" | ||
git config user.email "<>" | ||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: '3.x' | ||
|
||
- name: Install Dependencies | ||
run: pip install pyyaml requests | ||
|
||
- name: Save PR Body to File | ||
run: echo "${{ github.event.pull_request.body }}" > pr_body.txt | ||
|
||
- name: Extract Changelog from PR | ||
env: | ||
DISCORD_WEBHOOK_URL: ${{ secrets.CHANGELOG_DISCORD_WEBHOOK }} | ||
run: | | ||
python3 Tools/automatic_changelog.py "Resources/Changelog/ChangelogSunrise.yml" "$(cat pr_body.txt)" | ||
- name: Commit and Push Changes | ||
run: | | ||
git add Resources/Changelog/ChangelogSunrise.yml | ||
git commit -m 'Update changelog from PR #${{ github.event.pull_request.number }}' | ||
git push |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,13 +14,9 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
- name: Setup Submodule | ||
run: git submodule update --init | ||
- name: Pull engine updates | ||
uses: space-wizards/[email protected] | ||
- name: Install Python dependencies | ||
run: | | ||
pip3 install --ignore-installed --user pillow jsonschema | ||
- name: Validate RSIs | ||
run: | | ||
python3 RobustToolbox/Schemas/validate_rsis.py Resources/ | ||
python3 Tools/Schemas/validate_rsis.py Resources/ |
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
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
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
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
Oops, something went wrong.