0
Fork 0
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:
Bjorn Lu 2024-03-08 16:21:33 +08:00 committed by GitHub
parent ac766647b0
commit 03f79f005e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,6 +1,6 @@
name: Check mergeability
on: pull_request
on: pull_request_target
permissions:
pull-requests: write
@ -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