Skip to content

Fix: add GITHUB_TOKEN write permissions (#838) #108

Fix: add GITHUB_TOKEN write permissions (#838)

Fix: add GITHUB_TOKEN write permissions (#838) #108

name: Release Charts
on:
push:
tags: ["v*"]
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Fetch history
run: git fetch --prune --unshallow
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
- name: Set up Helm
uses: azure/setup-helm@v4
with:
version: v3.10.0
- name: Run chart-releaser
uses: regadas/chart-releaser-action@v1
with:
charts_dir: helm-chart
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"