Skip to content

Commit 0d29073

Browse files
authored
Fix release flow 2 (#427)
* fix: use pull_request_target so release assistant works on fork PRs * fix: add GH_REPO env var for gh CLI without git repo
1 parent a81bac3 commit 0d29073

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/release-assistant.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
id: analysis
2222
env:
2323
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24+
GH_REPO: ${{ github.repository }}
2425
PR_NUMBER: ${{ github.event.pull_request.number }}
2526
run: |
2627
CHANGED_FILES=$(gh pr view ${{ env.PR_NUMBER }} --json files --jq '.files[].path' | tr '\n' ' ')

0 commit comments

Comments
 (0)