fix(ci): v5 of gh scripts [skip ci]

This commit is contained in:
lowlighter
2022-01-26 22:54:47 -05:00
parent fe141c4b63
commit 9c2df98fbf

View File

@@ -17,7 +17,7 @@ jobs:
with: with:
script: | script: |
const {issue:{number:issue_number}, repo:{owner, repo}} = context const {issue:{number:issue_number}, repo:{owner, repo}} = context
github.issues.createComment({issue_number, owner, repo, body:[ github.rest.issues.createComment({issue_number, owner, repo, body:[
"Hello there 👋!", "Hello there 👋!",
"", "",
"It seems you have opened a pull request on either `main`, `latest` or `examples`.", "It seems you have opened a pull request on either `main`, `latest` or `examples`.",