From 224ea29b72c90aa60b4760386f561f9d6442e1bc Mon Sep 17 00:00:00 2001 From: Roi Kramer Date: Tue, 5 Dec 2023 17:31:32 +0200 Subject: [PATCH] adding bump chart app version github workflow (#65) --- .github/workflows/bump-chart.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/bump-chart.yaml b/.github/workflows/bump-chart.yaml index 719b6fa..25068a4 100644 --- a/.github/workflows/bump-chart.yaml +++ b/.github/workflows/bump-chart.yaml @@ -11,10 +11,10 @@ on: description: 'The new app-version' required: true type: string - token: + secrets: + GITHUB_TOKEN: description: 'The github token to use to create the PR' - type: string - default: ${{ github.token }} + required: true jobs: update-app-version: @@ -47,7 +47,7 @@ jobs: id: cpr uses: peter-evans/create-pull-request@v4 with: - token: ${{ inputs.token }} + token: ${{ secrets.GITHUB_TOKEN }} title: '[bump] ${{ inputs.chart-name }} - ${{inputs.app-version}}' branch: bump/${{ inputs.chart-name }}_${{inputs.app-version}} delete-branch: true