Skip to content

Commit

Permalink
🌱 ci: no longer call github actions for changes which are only made i…
Browse files Browse the repository at this point in the history
…n the docs files (*/*.md) (kubernetes-sigs#4115)

ci: no longer call github actions for changes which are only made in the docs files (*/*.md)
  • Loading branch information
camilamacedo86 authored Aug 29, 2024
1 parent fa8b88f commit e93492b
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 4 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/apidiff.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
name: APIDiff

# Trigger the workflow on pull requests and direct pushes to any branch
on:
push:
paths-ignore:
- '**/*.md'
pull_request:
paths-ignore:
- '**/*.md'

jobs:
go-apidiff:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
name: Lint

# Trigger the workflow on pull requests and direct pushes to any branch
on:
push:
paths-ignore:
- '**/*.md'
pull_request:
paths-ignore:
- '**/*.md'

jobs:
lint:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/spaces.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
name: Trailing

# Trigger the workflow on pull requests and direct pushes to any branch
on:
push:
paths:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test-devcontainer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@ name: Test DevContainer Image

on:
push:
paths-ignore:
- '**/*.md'
pull_request:
paths-ignore:
- '**/*.md'

jobs:
test-devcontainer:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/testdata.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
name: Testdata verification

# Trigger the workflow on pull requests and direct pushes to any branch
on:
push:
pull_request:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ name: Unit tests
# Trigger the workflow on pull requests and direct pushes to any branch
on:
push:
paths-ignore:
- '**/*.md'
pull_request:
paths-ignore:
- '**/*.md'

jobs:
test:
Expand Down

0 comments on commit e93492b

Please sign in to comment.