1
0
mirror of synced 2026-01-05 12:07:35 -05:00

Filter the workflow and YAML linters event triggers by paths (#17816)

This commit is contained in:
James M. Greene
2021-02-11 11:44:02 -06:00
committed by GitHub
parent fc4dec9975
commit fca736b5ec
2 changed files with 10 additions and 0 deletions

View File

@@ -5,7 +5,11 @@ on:
push:
branches:
- main
paths:
- '.github/workflows/*.yml'
pull_request:
paths:
- '.github/workflows/*.yml'
jobs:
lint:

View File

@@ -5,7 +5,13 @@ on:
push:
branches:
- main
paths:
- '**/*.yml'
- '**/*.yaml'
pull_request:
paths:
- '**/*.yml'
- '**/*.yaml'
jobs:
lint: