Skip to content

Commit e3e071a

Browse files
authored
fix: skip CI/CD tests for documentation-only changes (#118)
Add paths-ignore filters to workflow triggers to prevent unnecessary test runs when only documentation files are modified. This saves CI/CD resources and provides faster feedback for documentation updates. Files ignored: - Markdown files (**.md) - LICENSE file - .gitignore - docs directory - GitHub issue and PR templates Fixes #117
1 parent 03a54ce commit e3e071a

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,22 @@ name: Test
33
on:
44
push:
55
branches: [ master, main ]
6+
paths-ignore:
7+
- '**.md'
8+
- 'LICENSE'
9+
- '.gitignore'
10+
- 'docs/**'
11+
- '.github/ISSUE_TEMPLATE/**'
12+
- '.github/PULL_REQUEST_TEMPLATE/**'
613
pull_request:
714
branches: [ master, main ]
15+
paths-ignore:
16+
- '**.md'
17+
- 'LICENSE'
18+
- '.gitignore'
19+
- 'docs/**'
20+
- '.github/ISSUE_TEMPLATE/**'
21+
- '.github/PULL_REQUEST_TEMPLATE/**'
822

923
env:
1024
TERRAFORM_VERSION: latest

0 commit comments

Comments
 (0)