Skip to content

Commit db14235

Browse files
authored
Skip CI when only docs changed (#415)
Signed-off-by: Fiachra Corcoran <fiachra.corcoran@est.tech>
1 parent db20022 commit db14235

4 files changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/golangci-lint.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
name: golangci-lint
1616
on:
1717
pull_request:
18+
paths-ignore:
19+
- 'docs/**'
1820
workflow_dispatch:
1921

2022
permissions:

.github/workflows/gosec-scan.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ name: Gosec security scan
1616

1717
on:
1818
pull_request:
19+
paths-ignore:
20+
- 'docs/**'
1921
workflow_dispatch:
2022

2123
jobs:

.github/workflows/porch-e2e-ci-jobs.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
name: End-to-End Tests
1616
on:
1717
pull_request:
18+
paths-ignore:
19+
- 'docs/**'
1820
workflow_dispatch:
1921

2022
concurrency:

.github/workflows/sonar-ci-artifacts.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,12 @@ on:
33
push:
44
branches:
55
- main
6+
paths-ignore:
7+
- 'docs/**'
68
pull_request:
79
types: [opened, synchronize, reopened]
10+
paths-ignore:
11+
- 'docs/**'
812

913
jobs:
1014
build:

0 commit comments

Comments
 (0)