Update workflow glob matchers

This commit is contained in:
Marc Rousavy 2021-03-09 09:45:06 +01:00
parent fcda8dd75a
commit 168ba054d1
2 changed files with 10 additions and 16 deletions

View File

@ -6,19 +6,21 @@ on:
- main - main
paths: paths:
- '.github/workflows/build-docs.yml' - '.github/workflows/build-docs.yml'
- 'src/**'
- 'docs/**' - 'docs/**'
- '*.js' - 'src/**'
- '*.json' - '*.json'
- '*.js'
- '*.lock'
push: push:
branches: branches:
- main - main
paths: paths:
- '.github/workflows/build-docs.yml' - '.github/workflows/build-docs.yml'
- 'src/**'
- 'docs/**' - 'docs/**'
- '*.js' - 'src/**'
- '*.json' - '*.json'
- '*.js'
- '*.lock'
jobs: jobs:
checks: checks:

View File

@ -7,24 +7,16 @@ on:
paths: paths:
- '.github/workflows/validate-js.yml' - '.github/workflows/validate-js.yml'
- 'src/**' - 'src/**'
- '*.js'
- '*.json' - '*.json'
- 'package.json' - '*.js'
- 'tsconfig.json' - '*.lock'
- '.prettierrc.js'
- '.eslintrc.js'
- 'babel.config.js'
pull_request: pull_request:
paths: paths:
- '.github/workflows/validate-js.yml' - '.github/workflows/validate-js.yml'
- 'src/**' - 'src/**'
- '*.js'
- '*.json' - '*.json'
- 'package.json' - '*.js'
- 'tsconfig.json' - '*.lock'
- '.prettierrc.js'
- '.eslintrc.js'
- 'babel.config.js'
jobs: jobs:
vibe_check: vibe_check: