We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dd4794b commit 4dafe3bCopy full SHA for 4dafe3b
.github/workflows/validate_pr_source.yml
@@ -21,5 +21,8 @@ jobs:
21
echo "Closing PR from invalid source branch: ${{ github.event.pull_request.head.ref }}"
22
23
gh pr comment ${{ github.event.pull_request.number }} \
24
+ --repo ${{ github.repository }} \
25
--body "This PR targets **main**, but it was created from **${{ github.event.pull_request.head.ref }}**. Only PRs from **dev** are allowed."
- 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