diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3ae648f7..bc02e97a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,6 +20,9 @@ permissions: jobs: update-app-version: runs-on: ubuntu-latest + permissions: + contents: write + pull-requests: write steps: - name: Check out uses: actions/checkout@v3 @@ -45,4 +48,4 @@ jobs: run: | gh pr create -H "bot/${{ github.event.inputs.app }}-${{ github.event.inputs.version }}" -B "main" --title "automated: ${{ github.event.inputs.app }} version ${{ github.event.inputs.version }}" -b "automated: version ${{ github.event.inputs.version }}" env: - GH_TOKEN: ${{ secrets.GH_TOKEN }} \ No newline at end of file + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file