mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
Fix check-merge workflow on PRs from forks (#10366)
This commit is contained in:
parent
ac766647b0
commit
03f79f005e
1 changed files with 2 additions and 1 deletions
3
.github/workflows/check-merge.yml
vendored
3
.github/workflows/check-merge.yml
vendored
|
@ -1,6 +1,6 @@
|
||||||
name: Check mergeability
|
name: Check mergeability
|
||||||
|
|
||||||
on: pull_request
|
on: pull_request_target
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
|
@ -35,6 +35,7 @@ jobs:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
if: steps.blocked.outputs.result != 'true'
|
if: steps.blocked.outputs.result != 'true'
|
||||||
with:
|
with:
|
||||||
|
repository: ${{ github.event.pull_request.head.repo.full_name }}
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Get changed files in the .changeset folder
|
- name: Get changed files in the .changeset folder
|
||||||
|
|
Loading…
Reference in a new issue