Skip to content

Commit

Permalink
chore(github-action): avoid builds for pushes to helm chart and docs …
Browse files Browse the repository at this point in the history
…files (#562)

- add paths-ignore parameter
- included pull_request.yml and added changelogs directory to ignore path

Signed-off-by: Niladri Halder <[email protected]>
  • Loading branch information
niladrih authored Apr 6, 2021
1 parent e3abb18 commit 110066c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,12 @@
# limitations under the License.
name: build

on: ['push']
on:
push:
paths-ignore:
- 'docs/**'
- 'deploy/helm/**'
- 'changelogs/**'

jobs:
lint:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ name: ci
on:
pull_request:
paths-ignore:
- 'docs/**'
- 'deploy/helm/**'
- 'changelogs/**'
branches:
# on pull requests to master and release branches
- master
Expand Down

0 comments on commit 110066c

Please sign in to comment.