Skip to content

Commit

Permalink
.github/workflows: run chart test on PR (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
giautm authored Feb 5, 2024
1 parent e573477 commit 0baf768
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/push-chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,18 @@
# See the License for the specific language governing permissions and
# limitations under the License.

name: Push Helm
name: Helm
on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:
jobs:
helm-test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -43,7 +47,9 @@ jobs:
exit 1
fi
helm-push:
name: Push to ghcr.io
needs: [helm-test]
if: ${{ github.event_name == 'push' }}
runs-on: ubuntu-latest
defaults:
run:
Expand Down

0 comments on commit 0baf768

Please sign in to comment.