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