.github/workflows/{ci,nix}.yml: ignore paths

This commit is contained in:
Vaibhav Sagar 2020-05-08 12:26:59 +08:00
parent 2429f3560f
commit 39a7445da5
2 changed files with 44 additions and 0 deletions

View File

@ -4,7 +4,29 @@ on:
push:
branches:
- master
paths-ignore:
- 'demo/**'
- 'docker/**'
- 'Dockerfile'
- '.dockerignore'
- '.ghci'
- '.gitignore'
- 'images/**'
- 'notebooks/**'
- 'README.md'
- '*.nix'
pull_request:
paths-ignore:
- 'demo/**'
- 'docker/**'
- 'Dockerfile'
- '.dockerignore'
- '.ghci'
- '.gitignore'
- 'images/**'
- 'notebooks/**'
- 'README.md'
- '*.nix'
jobs:
linux:

View File

@ -5,7 +5,29 @@ on:
push:
branches:
- master
paths-ignore:
- 'demo/**'
- 'docker/**'
- 'Dockerfile'
- '.dockerignore'
- '.ghci'
- '.gitignore'
- 'images/**'
- 'notebooks/**'
- 'README.md'
- '*.yaml'
pull_request:
paths-ignore:
- 'demo/**'
- 'docker/**'
- 'Dockerfile'
- '.dockerignore'
- '.ghci'
- '.gitignore'
- 'images/**'
- 'notebooks/**'
- 'README.md'
- '*.yaml'
jobs:
build:
runs-on: ubuntu-latest