Skip to content

Commit ce26750

Browse files
committed
Skip CI if only changes are documentation
1 parent 45643b5 commit ce26750

7 files changed

+31
-0
lines changed

.github/workflows/check-cabal-files.yml

+5
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ jobs:
99
runs-on: ubuntu-latest
1010

1111
steps:
12+
- name: Skip documentation only changes
13+
uses: fkirc/skip-duplicate-actions@v5
14+
with:
15+
paths_ignore: '["**/*.md", "**/*.rst", "**/LICENSE", "**/NOTICE"]'
16+
1217
- name: Install Haskell
1318
uses: input-output-hk/setup-haskell@v1
1419
id: setup-haskell

.github/workflows/check-git-dependencies.yml

+4
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ jobs:
1212
shell: bash
1313

1414
steps:
15+
- name: Skip documentation only changes
16+
uses: fkirc/skip-duplicate-actions@v5
17+
with:
18+
paths_ignore: '["**/*.md", "**/*.rst", "**/LICENSE", "**/NOTICE"]'
1519

1620
- uses: actions/checkout@v2
1721

.github/workflows/check-mainnet-config.yml

+4
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ jobs:
1212
shell: bash
1313

1414
steps:
15+
- name: Skip documentation only changes
16+
uses: fkirc/skip-duplicate-actions@v5
17+
with:
18+
paths_ignore: '["**/*.md", "**/*.rst", "**/LICENSE", "**/NOTICE"]'
1519

1620
- name: Install Nix
1721
uses: cachix/install-nix-action@v16

.github/workflows/check-nix-config.yml

+4
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ jobs:
1212
shell: bash
1313

1414
steps:
15+
- name: Skip documentation only changes
16+
uses: fkirc/skip-duplicate-actions@v5
17+
with:
18+
paths_ignore: '["**/*.md", "**/*.rst", "**/LICENSE", "**/NOTICE"]'
1519

1620
- name: Install Nix
1721
uses: cachix/install-nix-action@v18

.github/workflows/github-page.yml

+5
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ jobs:
2828
SECP256K1_REF: ac83be33d0956faf6b7f61a60ab524ef7d6a473a
2929

3030
steps:
31+
- name: Skip documentation only changes
32+
uses: fkirc/skip-duplicate-actions@v5
33+
with:
34+
paths_ignore: '["**/*.md", "**/*.rst", "**/LICENSE", "**/NOTICE"]'
35+
3136
- name: Install Haskell
3237
uses: input-output-hk/setup-haskell@v1
3338
id: setup-haskell

.github/workflows/haskell.yml

+5
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,11 @@ jobs:
3939
SECP256K1_REF: ac83be33d0956faf6b7f61a60ab524ef7d6a473a
4040

4141
steps:
42+
- name: Skip documentation only changes
43+
uses: fkirc/skip-duplicate-actions@v5
44+
with:
45+
paths_ignore: '["**/*.md", "**/*.rst", "**/LICENSE", "**/NOTICE"]'
46+
4247
- name: Install Haskell
4348
uses: input-output-hk/setup-haskell@v1
4449
id: setup-haskell

.github/workflows/nightly-trigger.yml

+4
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ jobs:
1414
shell: bash
1515

1616
steps:
17+
- name: Skip documentation only changes
18+
uses: fkirc/skip-duplicate-actions@v5
19+
with:
20+
paths_ignore: '["**/*.md", "**/*.rst", "**/LICENSE", "**/NOTICE"]'
1721

1822
- uses: actions/checkout@v2
1923

0 commit comments

Comments
 (0)