diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 4ddcec7d..15d6a505 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -1,6 +1,9 @@ name: Release Chart on: + push: + branches: + - master workflow_dispatch: inputs: version: @@ -20,6 +23,7 @@ jobs: uses: actions/checkout@v6 with: fetch-depth: 0 + token: ${{ secrets.CORTEX_HELM_CHART_CI_TOKEN }} - name: Configure Git run: | @@ -52,7 +56,7 @@ jobs: - name: Create or Update Pull Request env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.CORTEX_HELM_CHART_CI_TOKEN }} run: | git checkout -b release-${{ steps.version.outputs.new_version }} git add Chart.yaml README.md CHANGELOG.md docs/