Skip to content

Commit

Permalink
Release with main merge
Browse files Browse the repository at this point in the history
Signed-off-by: d-kuro <[email protected]>
  • Loading branch information
d-kuro committed Sep 11, 2021
1 parent f162ddc commit cacb1fb
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/helm-release.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: Release Charts

on: workflow_dispatch
on:
push:
branches:
- main
paths:
- 'charts/**'
- '!**.md'

jobs:
release:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/helm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
pull_request:
paths:
- "charts/**"
- '!**.md'

jobs:
lint-test:
Expand Down
6 changes: 1 addition & 5 deletions charts/accurate/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,4 @@ This will prevent the Accurate version from going up just by modifying the Helm
You must change the version of `Chart.yaml` when making changes to the Helm Chart.
CI fails with lint error when creating a Pull Request without changing the version of `Chart.yaml`.

When you release the Helm Chart, manually run the GitHub Actions workflow for the release.

https://github.com/cybozu-go/accurate/actions/workflows/helm-release.yaml

When you run workflow, [helm/chart-releaser-action](https://github.com/helm/chart-releaser-action) will automatically create a GitHub Release.
When a pull request with Chart changes is merged into the main branch, [helm/chart-releaser-action](https://github.com/helm/chart-releaser-action) will automatically create a GitHub release.

0 comments on commit cacb1fb

Please sign in to comment.