Skip to content

Merge pull request #78 from telekom-mms/renovate/actions-checkout-6.x #79

Merge pull request #78 from telekom-mms/renovate/actions-checkout-6.x

Merge pull request #78 from telekom-mms/renovate/actions-checkout-6.x #79

Workflow file for this run

---
name: New release
on: # yamllint disable-line rule:truthy
workflow_dispatch:
push:
branches:
- main
jobs:
generate_changelog:
runs-on: ubuntu-latest
name: create release draft
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
fetch-depth: 0
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
- name: Generate changelog
uses: charmixer/auto-changelog-action@b25e89c9410e03189f0d48b02b3a8caad6e78015 # v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
future_release: ${{ steps.version.outputs.next-version }}
- name: Install Helm
uses: azure/setup-helm@1a275c3b69536ee54be43f2070a358922e12c8d4 # v4
with:
version: v3.8.1
- name: Install helm plugin
run: |
helm plugin install https://github.com/sstarcher/helm-release
- name: Update Chart.yaml
run: |
CHARTS=$(git diff --dirstat | sed 's/^[ 0-9.]\+% //g' | cut -d/ -f1)
for CHART in $CHARTS; do helm release $CHART --skip-application-version; done
- name: Run chart-releaser
uses: helm/chart-releaser-action@cae68fefc6b5f367a0275617c9f83181ba54714f # v1.7.0
with:
charts_dir: .
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"