]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
fix bors config (#14389)
authorMoony <moony@hellomouse.net>
Sat, 4 Mar 2023 23:56:55 +0000 (23:56 +0000)
committerMoony <moony@hellomouse.net>
Sat, 4 Mar 2023 23:56:55 +0000 (23:56 +0000)
i did an oops

.github/workflows/build-test-debug.yml
.github/workflows/build-test-release.yml
.github/workflows/test-packaging.yml
.github/workflows/validate-rgas.yml
.github/workflows/validate_mapfiles.yml
.github/workflows/yaml-linter.yml
bors.toml

index fa3e7e7c254696bf46bc9fcac60a650eeac1e09f..3a3d93b7fb13ba564a57d4e2f8b0472abdca7aed 100644 (file)
@@ -3,29 +3,10 @@ name: Build & Test Debug
 on:
   push:
     branches: [ master, staging, trying ]
-    paths:
-      - '**.cs'
-      - '**.csproj'
-      - '**.sln'
-      - '**.git**'
-      - '**.yml'
-      # no docs on which one of these is supposed to work, so
-      # why not just do both
-      - 'RobustToolbox'
-      - 'RobustToolbox/**'
   merge_group:
   pull_request:
     types: [ opened, reopened, synchronize, ready_for_review ]
     branches: [ master ]
-    paths:
-      - '**.cs'
-      - '**.csproj'
-      - '**.sln'
-      - '**.git**'
-      - '**.yml'
-      - 'RobustToolbox'
-      - 'RobustToolbox/**'
-
 
 jobs:
   build:
@@ -71,3 +52,11 @@ jobs:
       run: |
         $env:DOTNET_gcServer=1
         dotnet test --no-build Content.IntegrationTests/Content.IntegrationTests.csproj -- NUnit.ConsoleOut=0
+  ci-success:
+    name: Build & Test Debug
+    needs:
+      - build
+    runs-on: ubuntu-latest
+    steps:
+      - name: CI succeeded
+        run: exit 0
index 8f08e12065e612f360d92c67ec3debe9bafeb49e..1658a57d5cd311c9138a0f8d77dd10453d7eb4aa 100644 (file)
@@ -3,28 +3,10 @@ name: Build & Test Release
 on:
   push:
     branches: [ master, staging, trying ]
-    paths:
-      - '**.cs'
-      - '**.csproj'
-      - '**.sln'
-      - '**.git**'
-      - '**.yml'
-      # no docs on which one of these is supposed to work, so
-      # why not just do both
-      - 'RobustToolbox'
-      - 'RobustToolbox/**'
   merge_group:
   pull_request:
     types: [ opened, reopened, synchronize, ready_for_review ]
     branches: [ master ]
-    paths:
-      - '**.cs'
-      - '**.csproj'
-      - '**.sln'
-      - '**.git**'
-      - '**.yml'
-      - 'RobustToolbox'
-      - 'RobustToolbox/**'
 
 jobs:
   build:
@@ -70,3 +52,11 @@ jobs:
       run: |
         $env:DOTNET_gcServer=1
         dotnet test --no-build Content.IntegrationTests/Content.IntegrationTests.csproj -- NUnit.ConsoleOut=0
+  ci-success:
+    name: Build & Test Release
+    needs:
+      - build
+    runs-on: ubuntu-latest
+    steps:
+      - name: CI succeeded
+        run: exit 0
index 22bc6fc94a152804597eaad2cd27609f34efde9d..4afaabf10c2af2407a90c127da42036e3d4c40fa 100644 (file)
@@ -28,6 +28,7 @@ on:
 
 jobs:
   build:
+    name: Test Packaging
     if: github.actor != 'PJBot' && github.event.pull_request.draft == false
     runs-on: ubuntu-latest
 
index c346c2a4c6546a1c74fd3592506aa88900f346a5..a06d3793e783029bb7d2b8e4a09d0a178560ca6f 100644 (file)
@@ -8,6 +8,7 @@ on:
 
 jobs:
   yaml-schema-validation:
+    name: YAML RGA schema validator
     if: github.actor != 'PJBot' && github.event.pull_request.draft == false
     runs-on: ubuntu-latest
     steps:
index 9a9833ca6cca9975606089f6971c15481bf44dcb..e849d2a53eb65be0617d1cc549fe1cb5b41560a1 100644 (file)
@@ -8,6 +8,7 @@ on:
 
 jobs:
   yaml-schema-validation:
+    name: YAML map schema validator
     if: github.actor != 'PJBot' && github.event.pull_request.draft == false
     runs-on: ubuntu-latest
     steps:
index 2ec63caae8c236fd5946aa179bb3951e90af0caf..8634dc473e0179385d6dbd32954f87ec1af67de1 100644 (file)
@@ -9,6 +9,7 @@ on:
 
 jobs:
   build:
+    name: YAML Linter
     if: github.actor != 'PJBot' && github.event.pull_request.draft == false
     runs-on: ubuntu-latest
     steps:
index 3356b7f0bfaa9a1d28f040222ee9380e38cdfa92..96239e2515683b5f818739a19dce4cd9148a94eb 100644 (file)
--- a/bors.toml
+++ b/bors.toml
@@ -1,3 +1,11 @@
-status = [ "Build & Test Debug", "Build & Test Release", "Test Packaging", "YAML Linter", "YAML schema validator" ]
+status = [ 
+  "Build & Test Debug",
+  "Build & Test Release",
+  "Test Packaging",
+  "YAML Linter",
+  "YAML RGA schema validator",
+  "YAML map schema validator",
+  "Validate RSIs",
+]
 timeout_sec = 1800 # 30 minutes
 use_squash_merge = true # Shame this can't use GH squash but what can you do