Skip to content

Commit

Permalink
Only release when charts is updated (runatlantis#244)
Browse files Browse the repository at this point in the history
* Only release when charts is updated

* Update linter.yaml

* Update lint-test.yaml

* Update lint-test.yaml
  • Loading branch information
nitrocode authored Jan 20, 2023
1 parent 859e646 commit 4649e23
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/lint-test.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Lint and Test Charts

on: pull_request
on:
pull_request:
paths:
- 'charts/atlantis/**'
- 'ct.yaml'

jobs:
lint-test:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/linter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ name: Lint Code Base
# Documentation:
# https://help.github.com/en/articles/workflow-syntax-for-github-actions

on: pull_request
on:
pull_request:
paths:
- 'charts/atlantis/**'

jobs:
build:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
push:
branches:
- main
paths:
- 'charts/atlantis/**'

jobs:
release:
Expand Down

0 comments on commit 4649e23

Please sign in to comment.