mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-07-22 06:02:54 +00:00
cb6db59601
Bumps [azure/setup-helm](https://github.com/azure/setup-helm) from 5.0.0 to 5.0.1. - [Release notes](https://github.com/azure/setup-helm/releases) - [Changelog](https://github.com/Azure/setup-helm/blob/main/CHANGELOG.md) - [Commits](https://github.com/azure/setup-helm/compare/dda3372f752e03dde6b3237bc9431cdc2f7a02a2...9bc31f4ebc9c6b171d7bfbaa5d006ae7abdb4310) --- updated-dependencies: - dependency-name: azure/setup-helm dependency-version: 5.0.1 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
55 lines
1.6 KiB
YAML
55 lines
1.6 KiB
YAML
|
|
name: Helm Chart Releaser
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- 'nextcloud-aio-helm-chart/**'
|
|
|
|
jobs:
|
|
release:
|
|
# Do not run this workflow on forked repositories, as they might not have the `gh-pages` branch created, or might
|
|
# want to use it for other purposes than publishing helm charts
|
|
if: github.repository == 'nextcloud/all-in-one'
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
|
|
- name: Turnstyle
|
|
uses: softprops/turnstyle@fa86562458e34a9067f0dc1316a76b3975b1c413 # v2
|
|
with:
|
|
continue-after-seconds: 180
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
- name: Fetch history
|
|
run: git fetch --prune --unshallow
|
|
|
|
- name: Configure Git
|
|
run: |
|
|
git config user.name "$GITHUB_ACTOR"
|
|
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
|
|
|
|
# See https://github.com/helm/chart-releaser-action/issues/6
|
|
- name: Set up Helm
|
|
uses: azure/setup-helm@9bc31f4ebc9c6b171d7bfbaa5d006ae7abdb4310 # v5.0.1
|
|
with:
|
|
version: v3.6.3
|
|
|
|
- name: Run Helm Lint
|
|
run: |
|
|
helm lint ./nextcloud-aio-helm-chart
|
|
|
|
- name: Run chart-releaser
|
|
uses: helm/chart-releaser-action@cae68fefc6b5f367a0275617c9f83181ba54714f # v1.7.0
|
|
with:
|
|
mark_as_latest: false
|
|
charts_dir: .
|
|
env:
|
|
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
|
CR_RELEASE_NAME_TEMPLATE: "helm-chart-{{ .Version }}"
|
|
CR_SKIP_EXISTING: true
|