Skip to content

Commit 40853f5

Browse files
authored
chore(): ignore docs and repo folders/files for tests (#2102)
This will bypass tests for the following folders/files - `**.md` -- all markdown files - `'.github/*` -- files directly in the .github folder - `.github/ISSUE_TEMPLATE/*` -- issue templates - `docs/**` -- docs - `images/**` -- images
1 parent 3488925 commit 40853f5

7 files changed

+42
-0
lines changed

.github/workflows/ci-aqua-security-trivy-tests.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
name: ci-aqua-security-trivy-tests
22
on:
33
pull_request:
4+
paths-ignore:
5+
- '**.md'
6+
- '.github/*'
7+
- '.github/ISSUE_TEMPLATE/*'
8+
- 'docs/**'
9+
- 'images/**'
410
types:
511
- opened
612
- reopened

.github/workflows/ci-badger-bank-tests-nightly.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
name: ci-badger-bank-tests-nightly
22
on:
33
push:
4+
paths-ignore:
5+
- '**.md'
6+
- '.github/*'
7+
- '.github/ISSUE_TEMPLATE/*'
8+
- 'docs/**'
9+
- 'images/**'
410
branches:
511
- main
612
- 'release/v*'

.github/workflows/ci-badger-bank-tests.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
name: ci-badger-bank-tests
22
on:
33
pull_request:
4+
paths-ignore:
5+
- '**.md'
6+
- '.github/*'
7+
- '.github/ISSUE_TEMPLATE/*'
8+
- 'docs/**'
9+
- 'images/**'
410
branches:
511
- main
612
- 'release/v*'

.github/workflows/ci-badger-tests-coverage.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
name: ci-badger-tests-coverage
22
on:
33
pull_request:
4+
paths-ignore:
5+
- '**.md'
6+
- '.github/*'
7+
- '.github/ISSUE_TEMPLATE/*'
8+
- 'docs/**'
9+
- 'images/**'
410
branches:
511
- main
612
- 'release/v*'

.github/workflows/ci-badger-tests.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
name: ci-badger-tests
22
on:
33
pull_request:
4+
paths-ignore:
5+
- '**.md'
6+
- '.github/*'
7+
- '.github/ISSUE_TEMPLATE/*'
8+
- 'docs/**'
9+
- 'images/**'
410
branches:
511
- main
612
- 'release/v*'

.github/workflows/ci-dgraph-tests.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
name: ci-dgraph-tests
22
on:
33
push:
4+
paths-ignore:
5+
- '**.md'
6+
- '.github/*'
7+
- '.github/ISSUE_TEMPLATE/*'
8+
- 'docs/**'
9+
- 'images/**'
410
branches:
511
- main
612
jobs:

.github/workflows/ci-golang-lint.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
name: ci-golang-lint
22
on:
33
pull_request:
4+
paths-ignore:
5+
- '**.md'
6+
- '.github/*'
7+
- '.github/ISSUE_TEMPLATE/*'
8+
- 'docs/**'
9+
- 'images/**'
410
branches:
511
- main
612
- 'release/v*'

0 commit comments

Comments
 (0)