mirror of
https://github.com/outbackdingo/helm-charts-new.git
synced 2026-01-27 02:19:00 +00:00
38 lines
1.1 KiB
YAML
38 lines
1.1 KiB
YAML
---
|
|
name: Release Charts
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- 'charts/**'
|
|
- '!charts/**/README.md'
|
|
- '!charts/**/README.md.gotmpl'
|
|
|
|
jobs:
|
|
release:
|
|
# depending on default permission settings for your org (contents being read-only or read-write for workloads), you will have to add permissions
|
|
# see: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#modifying-the-permissions-for-the-github_token
|
|
permissions:
|
|
contents: write
|
|
if: "!contains(github.event.head_commit.message, '[ci-skip]')"
|
|
runs-on: ubuntu-24.04
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
|
with:
|
|
fetch-depth: 0
|
|
persist-credentials: false
|
|
|
|
- name: Configure Git
|
|
run: |
|
|
git config user.name "$GITHUB_ACTOR"
|
|
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
|
|
|
|
- name: Run chart-releaser
|
|
uses: helm/chart-releaser-action@cae68fefc6b5f367a0275617c9f83181ba54714f # v1.7.0
|
|
env:
|
|
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|