Skip to content

Commit 4dafe3b

Browse files
committed
chore(ci): update pr source validation
1 parent dd4794b commit 4dafe3b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/validate_pr_source.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,8 @@ jobs:
2121
echo "Closing PR from invalid source branch: ${{ github.event.pull_request.head.ref }}"
2222
2323
gh pr comment ${{ github.event.pull_request.number }} \
24+
--repo ${{ github.repository }} \
2425
--body "This PR targets **main**, but it was created from **${{ github.event.pull_request.head.ref }}**. Only PRs from **dev** are allowed."
25-
gh pr close ${{ github.event.pull_request.number }}
26+
27+
gh pr close ${{ github.event.pull_request.number }} \
28+
--repo ${{ github.repository }}

0 commit comments

Comments
 (0)