Skip to content

Commit

Permalink
ci: 🎡 set github pat in env as workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
darvid committed Mar 10, 2024
1 parent fb22f32 commit 0d89e3d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,15 @@ jobs:

- name: Create PR
id: cpr
uses: peter-evans/create-pull-request@v4.0.2
uses: peter-evans/create-pull-request@v6
if: steps.release.outputs.released == 'true'
with:
base: main
assignees: ${{ github.repository_owner }}
title: "Release ${{ steps.release.outputs.version }}"
token: ${{ secrets.GITHUB_PAT }}
env:
# ☠️ https://github.com/peter-evans/create-pull-request/issues/60#issuecomment-1923812338
GITHUB_TOKEN: ${{ secrets.GITHUB_PAT }}

- name: Finalize
run: |
Expand Down

0 comments on commit 0d89e3d

Please sign in to comment.