Skip to content

Commit 369b5e5

Browse files
jneiraberbermanpepeiborra
authored
Ignore ci for some subdirectories and files (#1480)
* Ignore ci for some paths * Run ci for all branches * Ignore nix dir * Update .github/workflows/bench.yml Co-authored-by: Pepe Iborra <[email protected]> Co-authored-by: Potato Hatsue <[email protected]> Co-authored-by: Pepe Iborra <[email protected]>
1 parent cfbc9c5 commit 369b5e5

File tree

3 files changed

+37
-3
lines changed

3 files changed

+37
-3
lines changed

Diff for: .github/workflows/bench.yml

+14-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
11
name: Benchmark
22

3-
on: [pull_request]
3+
on:
4+
pull_request:
5+
branches:
6+
- '**'
7+
paths-ignore:
8+
- '**/docs/**'
9+
- '**.md'
10+
- '**/LICENSE'
11+
- '.circleci/**'
12+
- 'install/**'
13+
- 'nix/**'
14+
- 'test/**'
15+
- 'ghcide/test/**'
16+
417
jobs:
518
bench-init:
619
runs-on: ${{ matrix.os }}

Diff for: .github/workflows/nix.yml

+11-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
name: Nix
22

3-
on: [pull_request]
3+
on:
4+
pull_request:
5+
branches:
6+
- '**'
7+
paths-ignore:
8+
- '**/docs/**'
9+
- '**.md'
10+
- '**/LICENSE'
11+
- '.circleci/**'
12+
- 'install/**'
13+
414
jobs:
515
nix:
616
runs-on: ${{ matrix.os }}

Diff for: .github/workflows/test.yml

+12-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,18 @@ defaults:
44
run:
55
shell: bash
66

7-
on: [pull_request]
7+
on:
8+
pull_request:
9+
branches:
10+
- '**'
11+
paths-ignore:
12+
- '**/docs/**'
13+
- '**.md'
14+
- '**/LICENSE'
15+
- '.circleci/**'
16+
- 'install/**'
17+
- 'nix/**'
18+
819
jobs:
920
test:
1021
runs-on: ${{ matrix.os }}

0 commit comments

Comments
 (0)