mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-03-06 02:00:01 -06:00
Fix broken PR issue close command in GHA (#55131)
This commit is contained in:
parent
d63af29eaf
commit
55fcee407a
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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user