Skip to content

Commit

Permalink
ci: don't run CI when unnecessary
Browse files Browse the repository at this point in the history
  • Loading branch information
triceo committed Jun 20, 2024
1 parent be8cca5 commit fd6dcd2
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 33 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/pull_request_gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,16 @@ on:
push:
branches: [stable, development, '*.x']
paths:
- '**/*.gradle'
- '**/*.java'
- '**/*.kt'
- '**/*.versions.toml'
- '**/versions.properties'
- 'settings.gradle'
- 'java/**/*'
- 'kotlin/**/*'
- '.github/**/*.yml'
pull_request:
branches: [stable, development, '*.x']
paths:
- '**/*.gradle'
- '**/*.java'
- '**/*.kt'
- '**/*.versions.toml'
- '**/versions.properties'
- 'settings.gradle'
- 'java/**/*'
- 'kotlin/**/*'
- '.github/**/*.yml'

jobs:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,18 @@ name: Maven
on:
push:
branches: [stable, development, '*.x']
paths-ignore:
- 'LICENSE*'
- '.gitignore'
- '**.md'
- '**.adoc'
- '*.txt'
paths:
- 'pom.xml'
- 'java/**/*'
- 'kotlin/**/*'
- '.github/**/*.yml'
pull_request:
branches: [stable, development, '*.x']
paths-ignore:
- 'LICENSE*'
- '.gitignore'
- '**.md'
- '**.adoc'
- '*.txt'
paths:
- 'pom.xml'
- 'java/**/*'
- 'kotlin/**/*'
- '.github/**/*.yml'

jobs:
build:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Long-Running
name: Maven Long-Running

on:
# Enables the workflow to run on PRs from forks;
Expand All @@ -9,12 +9,11 @@ on:
- opened
- reopened
- synchronize
paths-ignore:
- 'LICENSE*'
- '.gitignore'
- '**.md'
- '**.adoc'
- '*.txt'
paths:
- 'pom.xml'
- 'java/**/*'
- 'kotlin/**/*'
- '.github/**/*.yml'

jobs:
build-quarkus:
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/pull_request_python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,12 @@ on:
push:
branches: [stable, development, '*.x']
paths:
- '**/*.py'
- '**/pyproject.toml'
- 'python/**/*'
- '.github/**/*.yml'
pull_request:
branches: [stable, development, '*.x']
paths:
- '**/*.py'
- '**/pyproject.toml'
- 'python/**/*'
- '.github/**/*.yml'

jobs:
Expand Down

0 comments on commit fd6dcd2

Please sign in to comment.