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:
14
.github/workflows/build-test.yml
vendored
14
.github/workflows/build-test.yml
vendored
@@ -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:
|
||||
|
||||
5
.github/workflows/validate-rsis.yml
vendored
5
.github/workflows/validate-rsis.yml
vendored
@@ -1,6 +1,9 @@
|
||||
name: RSI Validator
|
||||
|
||||
on: [pull_request]
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- '**.rsi/**'
|
||||
jobs:
|
||||
validate_rsis:
|
||||
name: Validate RSIs
|
||||
|
||||
3
.github/workflows/yaml-linter.yml
vendored
3
.github/workflows/yaml-linter.yml
vendored
@@ -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