Skip to content

Commit

Permalink
ci: add ref when checking out the repository
Browse files Browse the repository at this point in the history
  • Loading branch information
ematipico committed Apr 9, 2024
1 parent 2d2ff58 commit e10fc55
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/check-merge.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Check mergeability

on: pull_request_target
on:
pull_request:
types: [opened, synchronize]

permissions:
pull-requests: write
Expand Down Expand Up @@ -36,6 +38,7 @@ jobs:
if: steps.blocked.outputs.result != 'true'
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0

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

0 comments on commit e10fc55

Please sign in to comment.