Skip to content

Commit

Permalink
fix: run release only when test is succeed
Browse files Browse the repository at this point in the history
  • Loading branch information
M0NsTeRRR committed Dec 30, 2023
1 parent 419b92f commit d1f4c0b
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 15 deletions.
11 changes: 0 additions & 11 deletions .github/workflows/lint-docs.yml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,10 @@ jobs:
uses: helm/[email protected]

- name: Run chart-testing
run: ct lint --target-branch ${{ github.event.repository.default_branch }}
run: ct lint --target-branch ${{ github.event.repository.default_branch }}
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- uses: pre-commit/[email protected]
3 changes: 2 additions & 1 deletion .github/workflows/releases.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
name: Release Charts
on:
workflow_run:
workflows: ["Lint documentations", "Lint and Test Charts"]
workflows: ["Lint and Test Charts"]
branches: [main]
types:
- completed
jobs:
release:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
permissions:
contents: write
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion charts/as212510-net/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: as212510-net
description: as212510.net Helm chart for Kubernetes
description: as212510.net helm chart for Kubernetes
type: application
version: 0.2.0

Expand Down
2 changes: 1 addition & 1 deletion charts/as212510-net/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

![Version: 0.2.0](https://img.shields.io/badge/Version-0.2.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.0.0](https://img.shields.io/badge/AppVersion-2.0.0-informational?style=flat-square)

as212510.net Helm chart for Kubernetes
as212510.net helm chart for Kubernetes

## Source Code

Expand Down

0 comments on commit d1f4c0b

Please sign in to comment.