Skip to content

Commit

Permalink
CI/CD avoid rebuild on openapi spec change
Browse files Browse the repository at this point in the history
  • Loading branch information
clezag committed Apr 17, 2024
1 parent bab8895 commit 2e8f641
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@ on:
- 'client/**'
- '.github/workflows/sdk.yml'
- '*.md'
- 'openapi3.yml'
pull_request:
paths-ignore:
- 'client/**'
- '.github/workflows/sdk.yml'
- '*.md'
- 'openapi3.yml'

env:
PROJECT_NAME: odh-mobility-writer
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@ on:
- '.github/workflows/main.yml'
- '.github/workflows/reuse.yml'
- '*.md'
- 'openapi3.yml'
pull_request:
paths-ignore:
- 'writer/**'
- '.github/workflows/main.yml'
- '.github/workflows/reuse.yml'
- '*.md'
- 'openapi3.yml'

env:
JAVA_VERSION: '17'
Expand Down

0 comments on commit 2e8f641

Please sign in to comment.