diff --git a/.github/workflows/validate_pr_source.yml b/.github/workflows/validate_pr_source.yml index b977877..7be4fb5 100644 --- a/.github/workflows/validate_pr_source.yml +++ b/.github/workflows/validate_pr_source.yml @@ -21,5 +21,8 @@ jobs: echo "Closing PR from invalid source branch: ${{ github.event.pull_request.head.ref }}" gh pr comment ${{ github.event.pull_request.number }} \ + --repo ${{ github.repository }} \ --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 }} + + gh pr close ${{ github.event.pull_request.number }} \ + --repo ${{ github.repository }}