Skip to content

Commit

Permalink
chore(ci): ignore .md-only changes
Browse files Browse the repository at this point in the history
No need to run the workflows if the only changes are to markdown
documentation

Signed-off-by: Dominic Evans <dominic.evans@uk.ibm.com>
  • Loading branch information
dnwe committed Aug 24, 2023
1 parent 09395f6 commit c7e6bca
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/apidiff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,13 @@ on:
push:
branches:
- main
paths-ignore:
- '**/*.md'
pull_request:
branches:
- "**"
paths-ignore:
- '**/*.md'
jobs:
apidiff:
runs-on: ubuntu-latest
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,13 @@ on:
push:
branches:
- main
paths-ignore:
- '**/*.md'
pull_request:
branches:
- "**"
paths-ignore:
- '**/*.md'
jobs:
lint:
name: Linting with Go ${{ matrix.go-version }}
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,13 @@ on:
push:
branches:
- main
paths-ignore:
- '**/*.md'
pull_request:
branches:
- "**"
paths-ignore:
- '**/*.md'
schedule:
- cron: "39 12 * * 1"
jobs:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/fuzz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,13 @@ on:
push:
branches:
- main
paths-ignore:
- '**/*.md'
pull_request:
branches:
- "**"
paths-ignore:
- '**/*.md'
jobs:
test:
name: Fuzz
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/fvt-main.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
name: FVT
name: FVT (main)
on:
merge_group:
push:
branches:
- main
paths-ignore:
- '**/*.md'
jobs:
fvt:
name: Test with Kafka ${{ matrix.kafka-version }}
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/fvt-pr.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
name: FVT
name: FVT (PR)
on:
pull_request:
branches:
- "**"
paths-ignore:
- '**/*.md'
jobs:
fvt:
name: Test with Kafka ${{ matrix.kafka-version }}
Expand Down

0 comments on commit c7e6bca

Please sign in to comment.