mirror of
https://github.com/wega-team/ss14-wega.git
synced 2026-02-14 19:30:01 +01:00
chore: self-hosted is real (#3376)
This commit is contained in:
4
.github/workflows/benchmarks.yml
vendored
4
.github/workflows/benchmarks.yml
vendored
@@ -1,4 +1,4 @@
|
||||
name: Benchmarks
|
||||
name: Benchmarks
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
@@ -9,7 +9,7 @@ concurrency: benchmarks
|
||||
jobs:
|
||||
benchmark:
|
||||
name: Run Benchmarks
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: [self-hosted]
|
||||
steps:
|
||||
- uses: actions/checkout@v4.2.2
|
||||
with:
|
||||
|
||||
13
.github/workflows/build-docfx.yml
vendored
13
.github/workflows/build-docfx.yml
vendored
@@ -6,7 +6,7 @@ on:
|
||||
|
||||
jobs:
|
||||
docfx:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: [self-hosted]
|
||||
steps:
|
||||
- uses: actions/checkout@v4.2.2
|
||||
- name: Setup submodule
|
||||
@@ -18,10 +18,21 @@ jobs:
|
||||
run: |
|
||||
cd RobustToolbox/
|
||||
git submodule update --init --recursive
|
||||
|
||||
- name: Setup .NET Core
|
||||
uses: actions/setup-dotnet@v4.1.0
|
||||
with:
|
||||
dotnet-version: 9.0.x
|
||||
env:
|
||||
DOTNET_INSTALL_DIR: ${{ runner.temp }}/.dotnet
|
||||
|
||||
- name: Set DOTNET_ROOT and PATH
|
||||
run: |
|
||||
echo "DOTNET_ROOT=${{ runner.temp }}/.dotnet" >> $GITHUB_ENV
|
||||
echo "${{ runner.temp }}/.dotnet" >> $GITHUB_PATH
|
||||
|
||||
- name: Check .NET installation
|
||||
run: dotnet --info
|
||||
|
||||
- name: Install dependencies
|
||||
run: dotnet restore
|
||||
|
||||
14
.github/workflows/build-map-renderer.yml
vendored
14
.github/workflows/build-map-renderer.yml
vendored
@@ -1,4 +1,4 @@
|
||||
name: Build & Test Map Renderer
|
||||
name: Build & Test Map Renderer
|
||||
|
||||
on:
|
||||
push:
|
||||
@@ -13,7 +13,7 @@ jobs:
|
||||
if: github.actor != 'PJBot' && github.event.pull_request.draft == false
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest]
|
||||
os: [self-hosted]
|
||||
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
@@ -37,6 +37,16 @@ jobs:
|
||||
uses: actions/setup-dotnet@v4.1.0
|
||||
with:
|
||||
dotnet-version: 9.0.x
|
||||
env:
|
||||
DOTNET_INSTALL_DIR: ${{ runner.temp }}/.dotnet
|
||||
|
||||
- name: Set DOTNET_ROOT and PATH
|
||||
run: |
|
||||
echo "DOTNET_ROOT=${{ runner.temp }}/.dotnet" >> $GITHUB_ENV
|
||||
echo "${{ runner.temp }}/.dotnet" >> $GITHUB_PATH
|
||||
|
||||
- name: Check .NET installation
|
||||
run: dotnet --info
|
||||
|
||||
- name: Install dependencies
|
||||
run: dotnet restore
|
||||
|
||||
12
.github/workflows/build-test-debug.yml
vendored
12
.github/workflows/build-test-debug.yml
vendored
@@ -13,7 +13,7 @@ jobs:
|
||||
if: github.actor != 'IanComradeBot' && github.event.pull_request.draft == false
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest]
|
||||
os: [self-hosted]
|
||||
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
@@ -37,6 +37,16 @@ jobs:
|
||||
uses: actions/setup-dotnet@v4.1.0
|
||||
with:
|
||||
dotnet-version: 9.0.x
|
||||
env:
|
||||
DOTNET_INSTALL_DIR: ${{ runner.temp }}/.dotnet
|
||||
|
||||
- name: Set DOTNET_ROOT and PATH
|
||||
run: |
|
||||
echo "DOTNET_ROOT=${{ runner.temp }}/.dotnet" >> $GITHUB_ENV
|
||||
echo "${{ runner.temp }}/.dotnet" >> $GITHUB_PATH
|
||||
|
||||
- name: Check .NET installation
|
||||
run: dotnet --info
|
||||
|
||||
- name: Install dependencies
|
||||
run: dotnet restore
|
||||
|
||||
4
.github/workflows/check-crlf.yml
vendored
4
.github/workflows/check-crlf.yml
vendored
@@ -1,4 +1,4 @@
|
||||
name: CRLF Check
|
||||
name: CRLF Check
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
@@ -8,7 +8,7 @@ jobs:
|
||||
build:
|
||||
name: CRLF Check
|
||||
if: github.event.pull_request.draft == false
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: [self-hosted]
|
||||
steps:
|
||||
- uses: actions/checkout@v4.2.2
|
||||
- name: Check for CRLF
|
||||
|
||||
10
.github/workflows/close-master-pr.yml
vendored
10
.github/workflows/close-master-pr.yml
vendored
@@ -3,19 +3,19 @@ name: Close PRs on master
|
||||
on:
|
||||
pull_request_target:
|
||||
types: [ opened, ready_for_review ]
|
||||
|
||||
|
||||
jobs:
|
||||
run:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: [self-hosted]
|
||||
if: ${{github.head_ref == 'master' || github.head_ref == 'main' || github.head_ref == 'develop'}}
|
||||
|
||||
steps:
|
||||
|
||||
steps:
|
||||
- uses: superbrothers/close-pull-request@v3
|
||||
with:
|
||||
comment: "Благодарим вас за вклад в репозиторий Space Station 14. К сожалению, похоже, что вы отправили свой PR из master-ветки. Мы предлагаем вам следовать [нашей документации по использованию git](https://docs.spacestation14.com/en/general-development/setup/git-for-the-ss14-developer.html) \n\n Вы можете переместить текущую работу из master-ветки в другую ветку, выполнив команду `git branch <название_ветки>` и сбросив измененив в master-ветке."
|
||||
|
||||
# If you prefer to just comment on the pr and not close it, uncomment the bellow and comment the above
|
||||
|
||||
|
||||
# - uses: actions/github-script@v7
|
||||
# with:
|
||||
# script: |
|
||||
|
||||
4
.github/workflows/labeler-approve.yml
vendored
4
.github/workflows/labeler-approve.yml
vendored
@@ -1,4 +1,4 @@
|
||||
name: "Labels: Approve"
|
||||
name: "Labels: Approve"
|
||||
|
||||
on:
|
||||
pull_request_review:
|
||||
@@ -9,7 +9,7 @@ jobs:
|
||||
permissions:
|
||||
pull-requests: write
|
||||
if: github.event.review.state == 'approved'
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: [self-hosted]
|
||||
steps:
|
||||
- uses: actions-ecosystem/action-remove-labels@v1
|
||||
with:
|
||||
|
||||
4
.github/workflows/labeler-changes.yml
vendored
4
.github/workflows/labeler-changes.yml
vendored
@@ -1,4 +1,4 @@
|
||||
name: "Labels: Changes"
|
||||
name: "Labels: Changes"
|
||||
|
||||
on:
|
||||
pull_request_review:
|
||||
@@ -9,7 +9,7 @@ jobs:
|
||||
permissions:
|
||||
pull-requests: write
|
||||
if: github.event.review.state == 'changes_requested'
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: [self-hosted]
|
||||
steps:
|
||||
- uses: actions-ecosystem/action-add-labels@v1
|
||||
with:
|
||||
|
||||
2
.github/workflows/labeler-conflict.yml
vendored
2
.github/workflows/labeler-conflict.yml
vendored
@@ -11,7 +11,7 @@ on:
|
||||
jobs:
|
||||
Label:
|
||||
if: ( github.event.pull_request.draft == false ) && ( github.actor != 'IanComradeBot' )
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: [self-hosted]
|
||||
steps:
|
||||
- name: Check for Merge Conflicts
|
||||
uses: eps1lon/actions-label-merge-conflict@v3.0.0
|
||||
|
||||
4
.github/workflows/labeler-needsreview.yml
vendored
4
.github/workflows/labeler-needsreview.yml
vendored
@@ -1,4 +1,4 @@
|
||||
name: "Labels: Review"
|
||||
name: "Labels: Review"
|
||||
|
||||
on:
|
||||
pull_request_target:
|
||||
@@ -6,7 +6,7 @@ on:
|
||||
|
||||
jobs:
|
||||
add_label:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: [self-hosted]
|
||||
steps:
|
||||
- uses: actions-ecosystem/action-add-labels@v1
|
||||
with:
|
||||
|
||||
4
.github/workflows/labeler-pr.yml
vendored
4
.github/workflows/labeler-pr.yml
vendored
@@ -1,4 +1,4 @@
|
||||
name: "Labels: PR"
|
||||
name: "Labels: PR"
|
||||
|
||||
on:
|
||||
- pull_request_target
|
||||
@@ -9,6 +9,6 @@ jobs:
|
||||
permissions:
|
||||
contents: read
|
||||
pull-requests: write
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: [self-hosted]
|
||||
steps:
|
||||
- uses: actions/labeler@v5
|
||||
|
||||
2
.github/workflows/labeler-review.yml
vendored
2
.github/workflows/labeler-review.yml
vendored
@@ -9,7 +9,7 @@ jobs:
|
||||
permissions:
|
||||
contents: read
|
||||
pull-requests: write
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: [self-hosted]
|
||||
steps:
|
||||
- uses: tspascoal/get-user-teams-membership@v3
|
||||
id: checkUserMember
|
||||
|
||||
2
.github/workflows/labeler-size.yml
vendored
2
.github/workflows/labeler-size.yml
vendored
@@ -2,7 +2,7 @@ name: "Labels: Size"
|
||||
on: pull_request_target
|
||||
jobs:
|
||||
size-label:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: [self-hosted]
|
||||
steps:
|
||||
- name: size-label
|
||||
uses: "pascalgn/size-label-action@v0.5.5"
|
||||
|
||||
2
.github/workflows/labeler-stable.yml
vendored
2
.github/workflows/labeler-stable.yml
vendored
@@ -9,7 +9,7 @@ on:
|
||||
|
||||
jobs:
|
||||
add_label:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: [self-hosted]
|
||||
steps:
|
||||
- uses: actions-ecosystem/action-add-labels@v1
|
||||
with:
|
||||
|
||||
2
.github/workflows/labeler-staging.yml
vendored
2
.github/workflows/labeler-staging.yml
vendored
@@ -9,7 +9,7 @@ on:
|
||||
|
||||
jobs:
|
||||
add_label:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: [self-hosted]
|
||||
steps:
|
||||
- uses: actions-ecosystem/action-add-labels@v1
|
||||
with:
|
||||
|
||||
4
.github/workflows/labeler-untriaged.yml
vendored
4
.github/workflows/labeler-untriaged.yml
vendored
@@ -1,4 +1,4 @@
|
||||
name: "Labels: Untriaged"
|
||||
name: "Labels: Untriaged"
|
||||
|
||||
on:
|
||||
issues:
|
||||
@@ -8,7 +8,7 @@ on:
|
||||
|
||||
jobs:
|
||||
add_label:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: [self-hosted]
|
||||
steps:
|
||||
- uses: actions-ecosystem/action-add-labels@v1
|
||||
if: join(github.event.issue.labels) == ''
|
||||
|
||||
2
.github/workflows/no-submodule-update.yml
vendored
2
.github/workflows/no-submodule-update.yml
vendored
@@ -8,7 +8,7 @@ on:
|
||||
jobs:
|
||||
this_aint_right:
|
||||
name: Submodule update in pr found
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: [self-hosted]
|
||||
steps:
|
||||
- name: Fail
|
||||
run: exit 1
|
||||
|
||||
12
.github/workflows/publish-public.yml
vendored
12
.github/workflows/publish-public.yml
vendored
@@ -10,7 +10,7 @@ on:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: [self-hosted]
|
||||
|
||||
steps:
|
||||
# - name: Install dependencies
|
||||
@@ -24,6 +24,16 @@ jobs:
|
||||
uses: actions/setup-dotnet@v4.1.0
|
||||
with:
|
||||
dotnet-version: 9.0.x
|
||||
env:
|
||||
DOTNET_INSTALL_DIR: ${{ runner.temp }}/.dotnet
|
||||
|
||||
- name: Set DOTNET_ROOT and PATH
|
||||
run: |
|
||||
echo "DOTNET_ROOT=${{ runner.temp }}/.dotnet" >> $GITHUB_ENV
|
||||
echo "${{ runner.temp }}/.dotnet" >> $GITHUB_PATH
|
||||
|
||||
- name: Check .NET installation
|
||||
run: dotnet --info
|
||||
|
||||
- name: Get Engine Tag
|
||||
run: |
|
||||
|
||||
17
.github/workflows/publish-testing.yml
vendored
17
.github/workflows/publish-testing.yml
vendored
@@ -1,4 +1,4 @@
|
||||
name: Publish Testing
|
||||
name: Publish Testing
|
||||
|
||||
concurrency:
|
||||
group: publish-testing
|
||||
@@ -11,16 +11,27 @@ on:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: [self-hosted]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3.6.0
|
||||
with:
|
||||
submodules: 'recursive'
|
||||
|
||||
- name: Setup .NET Core
|
||||
uses: actions/setup-dotnet@v3.2.0
|
||||
uses: actions/setup-dotnet@v4.1.0
|
||||
with:
|
||||
dotnet-version: 9.0.x
|
||||
env:
|
||||
DOTNET_INSTALL_DIR: ${{ runner.temp }}/.dotnet
|
||||
|
||||
- name: Set DOTNET_ROOT and PATH
|
||||
run: |
|
||||
echo "DOTNET_ROOT=${{ runner.temp }}/.dotnet" >> $GITHUB_ENV
|
||||
echo "${{ runner.temp }}/.dotnet" >> $GITHUB_PATH
|
||||
|
||||
- name: Check .NET installation
|
||||
run: dotnet --info
|
||||
|
||||
- name: Get Engine Tag
|
||||
run: |
|
||||
|
||||
2
.github/workflows/publish.yml
vendored
2
.github/workflows/publish.yml
vendored
@@ -10,7 +10,7 @@ on:
|
||||
- cron: '0 1 * * *'
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: [self-hosted]
|
||||
steps:
|
||||
- name: Fail if we are attempting to run on the master branch
|
||||
if: ${{GITHUB.REF_NAME == 'master' && github.repository == 'space-wizards/space-station-14'}}
|
||||
|
||||
2
.github/workflows/rsi-diff.yml
vendored
2
.github/workflows/rsi-diff.yml
vendored
@@ -8,7 +8,7 @@ on:
|
||||
jobs:
|
||||
diff:
|
||||
name: Diff
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: [self-hosted]
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4.2.2
|
||||
|
||||
14
.github/workflows/test-packaging.yml
vendored
14
.github/workflows/test-packaging.yml
vendored
@@ -1,4 +1,4 @@
|
||||
name: Test Packaging
|
||||
name: Test Packaging
|
||||
|
||||
on:
|
||||
push:
|
||||
@@ -30,7 +30,7 @@ jobs:
|
||||
build:
|
||||
name: Test Packaging
|
||||
if: github.actor != 'IanComradeBot' && github.event.pull_request.draft == false
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: [self-hosted]
|
||||
|
||||
steps:
|
||||
- name: Checkout Master
|
||||
@@ -66,6 +66,16 @@ jobs:
|
||||
uses: actions/setup-dotnet@v4.1.0
|
||||
with:
|
||||
dotnet-version: 9.0.x
|
||||
env:
|
||||
DOTNET_INSTALL_DIR: ${{ runner.temp }}/.dotnet
|
||||
|
||||
- name: Set DOTNET_ROOT and PATH
|
||||
run: |
|
||||
echo "DOTNET_ROOT=${{ runner.temp }}/.dotnet" >> $GITHUB_ENV
|
||||
echo "${{ runner.temp }}/.dotnet" >> $GITHUB_PATH
|
||||
|
||||
- name: Check .NET installation
|
||||
run: dotnet --info
|
||||
|
||||
- name: Install dependencies
|
||||
run: dotnet restore
|
||||
|
||||
2
.github/workflows/update-credits.yml
vendored
2
.github/workflows/update-credits.yml
vendored
@@ -7,7 +7,7 @@ on:
|
||||
|
||||
jobs:
|
||||
get_credits:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: [self-hosted]
|
||||
# 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'
|
||||
|
||||
12
.github/workflows/update-wiki.yml
vendored
12
.github/workflows/update-wiki.yml
vendored
@@ -18,7 +18,7 @@ on:
|
||||
jobs:
|
||||
update-wiki:
|
||||
name: Build and Publish JSON blobs to wiki
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: [self-hosted]
|
||||
|
||||
steps:
|
||||
- name: Checkout Master
|
||||
@@ -40,6 +40,16 @@ jobs:
|
||||
uses: actions/setup-dotnet@v4.1.0
|
||||
with:
|
||||
dotnet-version: 9.0.x
|
||||
env:
|
||||
DOTNET_INSTALL_DIR: ${{ runner.temp }}/.dotnet
|
||||
|
||||
- name: Set DOTNET_ROOT and PATH
|
||||
run: |
|
||||
echo "DOTNET_ROOT=${{ runner.temp }}/.dotnet" >> $GITHUB_ENV
|
||||
echo "${{ runner.temp }}/.dotnet" >> $GITHUB_PATH
|
||||
|
||||
- name: Check .NET installation
|
||||
run: dotnet --info
|
||||
|
||||
- name: Install Dependencies
|
||||
run: dotnet restore
|
||||
|
||||
2
.github/workflows/validate-rgas.yml
vendored
2
.github/workflows/validate-rgas.yml
vendored
@@ -10,7 +10,7 @@ jobs:
|
||||
yaml-schema-validation:
|
||||
name: YAML RGA schema validator
|
||||
if: github.actor != 'IanComradeBot' && github.event.pull_request.draft == false
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: [self-hosted]
|
||||
steps:
|
||||
- uses: actions/checkout@v4.2.2
|
||||
- name: Setup Submodule
|
||||
|
||||
2
.github/workflows/validate-rsis.yml
vendored
2
.github/workflows/validate-rsis.yml
vendored
@@ -11,7 +11,7 @@ on:
|
||||
jobs:
|
||||
validate_rsis:
|
||||
name: Validate RSIs
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: [self-hosted]
|
||||
steps:
|
||||
- uses: actions/checkout@v4.2.2
|
||||
- name: Setup Submodule
|
||||
|
||||
2
.github/workflows/validate_mapfiles.yml
vendored
2
.github/workflows/validate_mapfiles.yml
vendored
@@ -10,7 +10,7 @@ jobs:
|
||||
yaml-schema-validation:
|
||||
name: YAML map schema validator
|
||||
if: github.actor != 'IanComradeBot' && github.event.pull_request.draft == false
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: [self-hosted]
|
||||
steps:
|
||||
- uses: actions/checkout@v4.2.2
|
||||
- name: Setup Submodule
|
||||
|
||||
2
.github/workflows/yaml-linter.yml
vendored
2
.github/workflows/yaml-linter.yml
vendored
@@ -11,7 +11,7 @@ jobs:
|
||||
build:
|
||||
name: YAML Linter
|
||||
if: github.actor != 'IanComradeBot' && github.event.pull_request.draft == false
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: [self-hosted]
|
||||
steps:
|
||||
- uses: actions/checkout@v4.2.2
|
||||
- name: Setup submodule
|
||||
|
||||
Reference in New Issue
Block a user