Skip to content

Commit

Permalink
Fix check-merge workflow on PRs from forks (#10366)
Browse files Browse the repository at this point in the history
  • Loading branch information
bluwy authored Mar 8, 2024
1 parent ac76664 commit 03f79f0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/check-merge.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Check mergeability

on: pull_request
on: pull_request_target

permissions:
pull-requests: write
Expand Down Expand Up @@ -35,6 +35,7 @@ jobs:
- uses: actions/checkout@v4
if: steps.blocked.outputs.result != 'true'
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
fetch-depth: 0

- name: Get changed files in the .changeset folder
Expand Down

0 comments on commit 03f79f0

Please sign in to comment.