forked from new-frontiers-14/frontier-station-14
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'Corvax-Frontier:master' into ncaurorafix
- Loading branch information
Showing
1,551 changed files
with
65,594 additions
and
117,758 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 |
---|---|---|
@@ -1,50 +1,80 @@ | ||
#"Map": | ||
# - "Resources/Maps/**/*.yml" # All .yml files in the Resources/Maps directory, recursive. | ||
# - changed-files: | ||
# - any-glob-to-any-file: "Resources/Maps/**/*.yml" # All .yml files in the Resources/Maps directory, recursive. | ||
|
||
"Map-Admin": | ||
- "Resources/Maps/_NF/Admin/**/*.yml" # Grid Files | ||
- changed-files: | ||
- any-glob-to-any-file: "Resources/Maps/_NF/Admin/**/*.yml" # Grid Files | ||
|
||
"Map-Bluespace": | ||
- "Resources/Maps/_NF/Bluespace/**/*.yml" # Grid Files | ||
- changed-files: | ||
- any-glob-to-any-file: "Resources/Maps/_NF/Bluespace/**/*.yml" # Grid Files | ||
|
||
"Map-Dungeon": | ||
- "Resources/Maps/_NF/Dungeon/**/*.yml" # Grid Files | ||
- changed-files: | ||
- any-glob-to-any-file: "Resources/Maps/_NF/Dungeon/**/*.yml" # Grid Files | ||
|
||
"Map-Outpost": | ||
- "Resources/Maps/_NF/Outpost/*.yml" # Map Files | ||
- "Resources/Prototypes/_MF/Maps/Outpost/*.yml" # Prototypes Files | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- "Resources/Maps/_NF/Outpost/*.yml" # Map Files | ||
- "Resources/Prototypes/_MF/Maps/Outpost/*.yml" # Prototypes Files | ||
|
||
"Map-Shuttle": | ||
- "Resources/Maps/_NF/Shuttles/**/*.yml" # Grid Files | ||
- "Resources/Prototypes/_NF/Shipyard/**/*.yml" # Prototypes Files | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- "Resources/Maps/_NF/Shuttles/**/*.yml" # Grid Files | ||
- "Resources/Prototypes/_NF/Shipyard/**/*.yml" # Prototypes Files | ||
|
||
"Map-POI": | ||
- "Resources/Maps/_NF/POI/**/*.yml" # Grid Files | ||
- "Resources/Prototypes/_MF/Maps/POI/**/*.yml" # Prototypes Files | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- "Resources/Maps/_NF/POI/**/*.yml" # Grid Files | ||
- "Resources/Prototypes/_MF/Maps/POI/**/*.yml" # Prototypes Files | ||
|
||
"Sprites": | ||
- "**/*.rsi/*.png" | ||
- "**/*.rsi/*.json" | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- "**/*.rsi/*.png" | ||
- "**/*.rsi/*.json" | ||
|
||
"UI": | ||
- "**/*.xaml*" | ||
- changed-files: | ||
- any-glob-to-any-file: "**/*.xaml*" | ||
|
||
"C#": | ||
- "**/*.cs" | ||
- changed-files: | ||
- any-glob-to-any-file: "**/*.cs" | ||
|
||
"Shaders": | ||
- changed-files: | ||
- any-glob-to-any-file: '**/*.swsl' | ||
|
||
"Shaders": | ||
- '**/*.swsl' | ||
|
||
"No C#": | ||
- all: ["!**/*.cs"] | ||
- changed-files: | ||
- all-globs-to-all-files: "!**/*.cs" | ||
|
||
"Docs": | ||
- "**/*.xml" | ||
- "**/*.md" | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- "**/*.xml" | ||
- "**/*.md" | ||
|
||
"FTL": | ||
- "Resources/Locale/**/*.ftl" | ||
- changed-files: | ||
- any-glob-to-any-file: "Resources/Locale/**/*.ftl" | ||
|
||
"YML": | ||
- any: ["**/*.yml"] | ||
all: ["!Resources/Maps/_NF/**/*.yml", "!Resources/Prototypes/Maps/_NF/**/*.yml"] | ||
- all: | ||
- changed-files: | ||
- any-glob-to-any-file: "**/*.yml" | ||
- all-globs-to-all-files: | ||
- "!Resources/Maps/_NF/**/*.yml" | ||
- "!Resources/Prototypes/Maps/_NF/**/*.yml" | ||
|
||
"DB Migration": | ||
- changed-files: | ||
- any-glob-to-any-file: "Content.Server.Database/Migrations/**/*.cs" |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: "Labels: PR" | ||
|
||
on: | ||
- pull_request_target | ||
|
||
jobs: | ||
labeler: | ||
if: github.actor != 'PJBot' && github.actor != 'FrontierATC' # Frontier | ||
permissions: | ||
contents: read | ||
pull-requests: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/labeler@v5 |
File renamed without changes.
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,59 @@ | ||
name: Build & Run Shipyard Tests | ||
|
||
on: | ||
pull_request: | ||
branches: [ "master" ] | ||
paths: | ||
- "Resources/Maps/_NF/Shuttles/**/*.yml" # Ship grids | ||
- "Resources/Prototypes/_NF/Shipyard/**/*.yml" # Shipyard prototypes | ||
- "Content.IntegrationTests/Tests/_NF/ShipyardTests.cs" # Shipyard tests | ||
|
||
jobs: | ||
build: | ||
if: github.event.pull_request.draft == false && github.actor != 'FrontierATC' | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
|
||
runs-on: ${{ matrix.os }} | ||
|
||
steps: | ||
- name: Checkout Master | ||
uses: actions/[email protected] | ||
|
||
- name: Setup Submodule | ||
run: | | ||
git submodule update --init --recursive | ||
- name: Pull engine updates | ||
uses: space-wizards/[email protected] | ||
|
||
- name: Update Engine Submodules | ||
run: | | ||
cd RobustToolbox/ | ||
git submodule update --init --recursive | ||
- name: Setup .NET Core | ||
uses: actions/[email protected] | ||
with: | ||
dotnet-version: 8.0.x | ||
|
||
- name: Install Dependencies | ||
run: dotnet restore | ||
|
||
- name: Build Project | ||
run: dotnet build --configuration DebugOpt --no-restore /p:WarningsAsErrors=nullable /m | ||
|
||
- name: Run Shipyard Tests | ||
shell: pwsh | ||
run: | | ||
$env:DOTNET_gcServer=1 | ||
dotnet test --no-build --configuration DebugOpt Content.IntegrationTests/Content.IntegrationTests.csproj --filter FullyQualifiedName~ShipyardTest -- NUnit.ConsoleOut=0 NUnit.MapWarningTo=Failed | ||
ci-success: | ||
name: Build & Run Shipyard Tests | ||
needs: | ||
- build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: CI succeeded | ||
run: exit 0 |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,25 +1,24 @@ | ||
name: Publish | ||
|
||
#concurrency: | ||
# group: publish | ||
concurrency: | ||
group: publish | ||
|
||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '0 1 * * *' | ||
- cron: '0 10 * * *' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
# - name: Install dependencies | ||
# run: sudo apt-get install -y python3-paramiko python3-lxml | ||
- name: Install dependencies | ||
run: sudo apt-get install -y python3-paramiko python3-lxml | ||
|
||
- uses: actions/[email protected] | ||
with: | ||
submodules: 'recursive' | ||
|
||
- name: Setup .NET Core | ||
uses: actions/[email protected] | ||
with: | ||
|
@@ -42,34 +41,19 @@ jobs: | |
- name: Package client | ||
run: dotnet run --project Content.Packaging client --no-wipe-release | ||
|
||
- name: Upload build artifact | ||
id: artifact-upload-step | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: build | ||
path: release/*.zip | ||
compression-level: 0 | ||
retention-days: 0 | ||
|
||
- name: Publish version | ||
run: Tools/publish_multi_request.py | ||
env: | ||
PUBLISH_TOKEN: ${{ secrets.PUBLISH_TOKEN }} | ||
GITHUB_REPOSITORY: ${{ vars.GITHUB_REPOSITORY }} | ||
FORK_ID: ${{ vars.FORK_ID }} | ||
|
||
# - name: Publish changelog (Discord) | ||
# run: Tools/actions_changelogs_since_last_run.py | ||
# env: | ||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
# DISCORD_WEBHOOK_URL: ${{ secrets.CHANGELOG_DISCORD_WEBHOOK }} | ||
#- name: Publish changelog (Discord) | ||
# run: Tools/actions_changelogs_since_last_run.py | ||
# env: | ||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
# DISCORD_WEBHOOK_URL: ${{ secrets.CHANGELOG_DISCORD_WEBHOOK }} | ||
|
||
# - name: Publish changelog (RSS) | ||
# run: Tools/actions_changelog_rss.py | ||
# env: | ||
# CHANGELOG_RSS_KEY: ${{ secrets.CHANGELOG_RSS_KEY }} | ||
|
||
- uses: geekyeggo/delete-artifact@v5 | ||
if: always() | ||
with: | ||
name: build | ||
- name: Publish changelog (RSS) | ||
run: Tools/actions_changelog_rss.py | ||
env: | ||
CHANGELOG_RSS_KEY: ${{ secrets.CHANGELOG_RSS_KEY }} |
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 |
---|---|---|
|
@@ -4,19 +4,19 @@ 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 == 'new-frontiers-14/frontier-station-14' # Frontier: space-wizards/space-station-14<new-frontiers-14/frontier-station-14 | ||
|
||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
ref: master | ||
|
||
- name: Get this week's Contributors | ||
shell: pwsh | ||
env: | ||
|
@@ -25,30 +25,17 @@ jobs: | |
|
||
# TODO | ||
#- name: Get this week's Patreons | ||
# run: Tools/script2dumppatreons > Resources/Credits/Patrons.yml | ||
# run: Tools/script2dumppatreons > Resources/Credits/Patrons.yml | ||
|
||
# MAKE SURE YOU ENABLED "Allow GitHub Actions to create and approve pull requests" IN YOUR ACTIONS, OTHERWISE IT WILL MOST LIKELY FAIL | ||
|
||
|
||
# For this you can use a pat token of an account with direct push access to the repo if you have protected branches. | ||
# For this you can use a pat token of an account with direct push access to the repo if you have protected branches. | ||
# Uncomment this and comment the other line if you do this. | ||
# https://github.com/stefanzweifel/git-auto-commit-action#push-to-protected-branches | ||
|
||
#- name: Commit new credit files | ||
# uses: stefanzweifel/git-auto-commit-action@v4 | ||
# with: | ||
# commit_message: Update Credits | ||
# commit_author: PJBot <[email protected]> | ||
|
||
# This will make a PR | ||
- name: Set current date as env variable | ||
run: echo "NOW=$(date +'%Y-%m-%dT%H-%M-%S')" >> $GITHUB_ENV | ||
|
||
- name: Create Pull Request | ||
uses: peter-evans/create-pull-request@v5 | ||
|
||
- name: Commit new credit files | ||
uses: stefanzweifel/git-auto-commit-action@v4 | ||
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: PJBot <[email protected]> | ||
branch: automated/credits-${{env.NOW}} | ||
commit_message: Update Credits | ||
commit_author: FrontierATC <[email protected]> |
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,7 +9,7 @@ on: | |
jobs: | ||
yaml-schema-validation: | ||
name: YAML RGA schema validator | ||
if: github.actor != 'PJBot' && github.event.pull_request.draft == false | ||
if: github.actor != 'PJBot' && github.event.pull_request.draft == false && github.actor != 'FrontierATC' # Frontier | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
|
Oops, something went wrong.