Skip to content

Commit

Permalink
Update CI workflow to trigger CI only on code level changes (#906)
Browse files Browse the repository at this point in the history
This commit adjusts so that changes in documentation files like .md and
.txt, as well as those under api/docs and build/charts directories, no
longer trigger PR events.

The current CI workflow primarily uses Docker Compose to set up a
local development environment for building, testing, linting,
benchmarking, and shard testing the Go project.

Changes under api/docs appear to be documented in swagger via the
openapi spec, and under build/charts are related to Helm charts.

However, changes in api/docs and build/charts seem unrelated to the
current CI process and are likely handled during deployment instead.
Therefore, I adjust not to trigger CI on PR events.
  • Loading branch information
kokodak authored Jun 25, 2024
1 parent 1df48f5 commit f86a4f3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ on:
branches: [ main ]
pull_request:
branches: [ main ]
paths-ignore:
- 'api/docs/**'
- 'build/charts/**'
- '**/*.md'
- '**/*.txt'
- '**/.gitignore'

env:
GO_VERSION: '1.21'
Expand Down

0 comments on commit f86a4f3

Please sign in to comment.