mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-03-15 14:05:47 -05:00
Fix broken PR issue close command in GHA (#55131)
This commit is contained in:
2
.github/workflows/pr-modified-files.yml
vendored
2
.github/workflows/pr-modified-files.yml
vendored
@@ -99,7 +99,7 @@ jobs:
|
||||
MESSAGE+=" You can [read more here](https://github.com/microsoft/TypeScript/blob/main/CONTRIBUTING.md#contributing-libdts-fixes)."
|
||||
MESSAGE+=" For house-keeping purposes, this pull request will be closed."
|
||||
|
||||
gh pr close $issue --repo ${{ github.repository }} --comment "$MESSAGE"
|
||||
gh pr close ${{ github.event.pull_request.number }} --repo ${{ github.repository }} --comment "$MESSAGE"
|
||||
exit 1 # Stop the pipeline; we just closed the PR.
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user