Skip to content

Commit e6122c5

Browse files
authored
Merge pull request #12 from numtide/skip-ci-cd-on-text
dont run CI/CD when only markdown or text gets changed
2 parents aff7df4 + d5e285c commit e6122c5

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

.github/workflows/main.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
push:
55
branches:
66
- main
7+
paths-ignore:
8+
- '**/*.md'
9+
- '**/*.txt'
710

811
permissions:
912
contents: write

.github/workflows/pull-request.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: Run checks
22

33
on:
44
pull_request:
5+
paths-ignore:
6+
- '**/*.md'
7+
- '**/*.txt'
58

69
permissions:
710
contents: write

.github/workflows/tags.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
push:
55
tags:
66
- '**'
7+
paths-ignore:
8+
- '**/*.md'
9+
- '**/*.txt'
710

811
permissions:
912
contents: write

0 commit comments

Comments
 (0)