Skip to content

Commit

Permalink
Minor improvements to path filters
Browse files Browse the repository at this point in the history
  • Loading branch information
ashishb committed Sep 1, 2023
1 parent 05f3f49 commit 1f8305d
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 18 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/format-go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ on: # yamllint disable-line rule:truthy
push:
branches: [main, master]
paths:
- "**/*.go"
- "**.go"
- ".github/workflows/format-go.yaml"
pull_request:
branches: [main, master]
paths:
- "**/*.go"
- "**.go"
- ".github/workflows/format-go.yaml"


Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint-go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ on: # yamllint disable-line rule:truthy
push:
branches: [main, master]
paths:
- "**/*.go"
- "**.go"
- ".github/workflows/lint-go.yaml"
pull_request:
branches: [main, master]
paths:
- "**/*.go"
- "**.go"
- ".github/workflows/lint-go.yaml"


Expand Down
4 changes: 2 additions & 2 deletions src/gabo/internal/generator/data/format-go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ on: # yamllint disable-line rule:truthy
push:
branches: [main, master]
paths:
- "**/*.go"
- "**.go"
- ".github/workflows/format-go.yaml"
pull_request:
branches: [main, master]
paths:
- "**/*.go"
- "**.go"
- ".github/workflows/format-go.yaml"


Expand Down
4 changes: 2 additions & 2 deletions src/gabo/internal/generator/data/format-python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ on: # yamllint disable-line rule:truthy
push:
branches: [main, master]
paths:
- "**/*.py"
- "**.py"
- ".github/workflows/format-python.yaml"
pull_request:
branches: [main, master]
paths:
- "**/*.py"
- "**.py"
- ".github/workflows/format-python.yaml"


Expand Down
12 changes: 6 additions & 6 deletions src/gabo/internal/generator/data/lint-android.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ on: # yamllint disable-line rule:truthy
paths:
- ".github/workflows/lint-android.yaml"
# TODO: Make this more narrow in case of a monorepo
- "**/*.java"
- "**/*.kt"
- "**/*.gradle"
- "**.java"
- "**.kt"
- "**.gradle"
- "**/gradle/**"
- "gradle.properties"
- "gradlew*"
Expand All @@ -19,9 +19,9 @@ on: # yamllint disable-line rule:truthy
paths:
- ".github/workflows/lint-android.yaml"
# TODO: Make this more narrow in case of a monorepo
- "**/*.java"
- "**/*.kt"
- "**/*.gradle"
- "**.java"
- "**.kt"
- "**.gradle"
- "**/gradle/**"
- "gradle.properties"
- "gradlew*"
Expand Down
4 changes: 2 additions & 2 deletions src/gabo/internal/generator/data/lint-go-incomplete.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ on: # yamllint disable-line rule:truthy
push:
branches: [main, master]
paths:
- "**/*.go"
- "**.go"
- ".github/workflows/lint-go.yaml"
pull_request:
branches: [main, master]
paths:
- "**/*.go"
- "**.go"
- ".github/workflows/lint-go.yaml"


Expand Down
4 changes: 2 additions & 2 deletions src/gabo/internal/generator/data/lint-python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ on: # yamllint disable-line rule:truthy
push:
branches: [main, master]
paths:
- "**/*.py"
- "**.py"
- "**/requirements.txt"
- "**/requirements-dev.txt"
- ".github/workflows/lint-python.yaml"
pull_request:
branches: [main, master]
paths:
- "**/*.py"
- "**.py"
- "**/requirements.txt"
- "**/requirements-dev.txt"
- ".github/workflows/lint-python.yaml"
Expand Down

0 comments on commit 1f8305d

Please sign in to comment.