forked from SpaceStation14-Shenanigans/Monolith
Only run workflows when necessary (#4790)
* Run workflows only when necessary * submod * also run tests on yml change * aba bab abab ababa * give up * give up 2
This commit is contained in:
@@ -3,8 +3,22 @@ name: Build & Test
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
paths:
|
||||
- '**.cs'
|
||||
- '**.csproj'
|
||||
- '**.sln'
|
||||
- '**.git**'
|
||||
- '**.yml'
|
||||
- 'RobustToolbox/'
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
paths:
|
||||
- '**.cs'
|
||||
- '**.csproj'
|
||||
- '**.sln'
|
||||
- '**.git**'
|
||||
- '**.yml'
|
||||
- 'RobustToolbox/'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
name: RSI Validator
|
||||
|
||||
on: [pull_request]
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- '**.rsi/**'
|
||||
jobs:
|
||||
validate_rsis:
|
||||
name: Validate RSIs
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
name: YAML Linter
|
||||
|
||||
on: [push, pull_request]
|
||||
on: [pull_request, push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in New Issue
Block a user