forked from Fluffy-Frontier/FluffySTG
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Batch of TG PRs 9/7 (Fluffy-Frontier#4372) (Fluffy-Frontier#5011)
* Batch of TG PRs 9/7 (Fluffy-Frontier#4372) Includes everything up until now. Autochangelogs attached * Fix by Oxotnak
- Loading branch information
Showing
505 changed files
with
54,484 additions
and
34,414 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,3 +23,4 @@ reset_label = "GBP: Reset" | |
"Sound" = 3 | ||
"Sprites" = 3 | ||
"Unit Tests" = 6 | ||
"Wallening Revert Recovery" = 10 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,8 @@ jobs: | |
compile: | ||
name: "Compile changelogs" | ||
runs-on: ubuntu-22.04 | ||
permissions: | ||
contents: write | ||
steps: | ||
- name: "Check for ACTION_ENABLER secret and pass true to output if it exists to be checked by later steps" | ||
id: value_holder | ||
|
@@ -18,37 +20,54 @@ jobs: | |
unset SECRET_EXISTS | ||
if [ -n "$ENABLER_SECRET" ]; then SECRET_EXISTS=true ; fi | ||
echo "ACTIONS_ENABLED=$SECRET_EXISTS" >> $GITHUB_OUTPUT | ||
- name: "Setup python" | ||
if: steps.value_holder.outputs.ACTIONS_ENABLED | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: '3.x' | ||
|
||
- name: "Install deps" | ||
if: steps.value_holder.outputs.ACTIONS_ENABLED | ||
run: | | ||
python -m pip install --upgrade pip | ||
python -m pip install pyyaml | ||
sudo apt-get install dos2unix | ||
- name: "Checkout" | ||
if: steps.value_holder.outputs.ACTIONS_ENABLED | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 25 | ||
persist-credentials: false | ||
|
||
- name: "Compile" | ||
if: steps.value_holder.outputs.ACTIONS_ENABLED | ||
run: | | ||
python tools/ss13_genchangelog.py html/changelogs | ||
- name: Commit | ||
if: steps.value_holder.outputs.ACTIONS_ENABLED | ||
run: | | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "Changelogs" | ||
git config --local user.name "tgstation-ci[bot]" | ||
git config --local user.email "179393467+tgstation-ci[bot]@users.noreply.github.com" | ||
git pull origin master | ||
git add html/changelogs | ||
git commit -m "Automatic changelog compile [ci skip]" -a || true | ||
- name: Generate App Token | ||
id: app-token-generation | ||
uses: actions/create-github-app-token@v1 | ||
if: env.APP_PRIVATE_KEY != '' && env.APP_ID != '' | ||
with: | ||
app-id: ${{ secrets.APP_ID }} | ||
private-key: ${{ secrets.APP_PRIVATE_KEY }} | ||
env: | ||
APP_PRIVATE_KEY: ${{ secrets.APP_PRIVATE_KEY }} | ||
APP_ID: ${{ secrets.APP_ID }} | ||
|
||
- name: "Push" | ||
if: steps.value_holder.outputs.ACTIONS_ENABLED | ||
uses: ad-m/github-push-action@master | ||
with: | ||
github_token: ${{ secrets.SKYRATBOT_TOKEN ||secrets.GITHUB_TOKEN }} | ||
github_token: ${{ steps.app-token-generation.outputs.token || secrets.GITHUB_TOKEN }} |
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.