Skip to content

Commit

Permalink
Skip CI if only changes are documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
newhoggy committed Jan 17, 2023
1 parent 45643b5 commit ce26750
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/check-cabal-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ jobs:
runs-on: ubuntu-latest

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

- name: Install Haskell
uses: input-output-hk/setup-haskell@v1
id: setup-haskell
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/check-git-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ jobs:
shell: bash

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

- uses: actions/checkout@v2

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/check-mainnet-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ jobs:
shell: bash

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

- name: Install Nix
uses: cachix/install-nix-action@v16
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/check-nix-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ jobs:
shell: bash

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

- name: Install Nix
uses: cachix/install-nix-action@v18
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/github-page.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ jobs:
SECP256K1_REF: ac83be33d0956faf6b7f61a60ab524ef7d6a473a

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

- name: Install Haskell
uses: input-output-hk/setup-haskell@v1
id: setup-haskell
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/haskell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ jobs:
SECP256K1_REF: ac83be33d0956faf6b7f61a60ab524ef7d6a473a

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

- name: Install Haskell
uses: input-output-hk/setup-haskell@v1
id: setup-haskell
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/nightly-trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ jobs:
shell: bash

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

- uses: actions/checkout@v2

Expand Down

0 comments on commit ce26750

Please sign in to comment.