@@ -29831,8 +29831,8 @@ query openPullRequests($owner: String!, $repo: String!, $after: String, $baseRef
29831
29831
* Assumes that the label exists
29832
29832
* @returns `true` if the label was added, `false` otherwise (e.g. when it already exists)
29833
29833
*/
29834
- function addLabelIfNotExists(labelName, issue, { client } ) {
29835
- return __awaiter(this, void 0 , void 0, function* () {
29834
+ function addLabelIfNotExists(labelName_1, issue_1, _a ) {
29835
+ return __awaiter(this, arguments , void 0, function* (labelName, issue, { client } ) {
29836
29836
core.debug(JSON.stringify(issue, null, 2));
29837
29837
const hasLabel = issue.labels.nodes.find((labe) => {
29838
29838
return labe.name === labelName;
@@ -29861,8 +29861,8 @@ function addLabelIfNotExists(labelName, issue, { client }) {
29861
29861
});
29862
29862
});
29863
29863
}
29864
- function removeLabelIfExists(labelName, issue, { client } ) {
29865
- return __awaiter(this, void 0 , void 0, function* () {
29864
+ function removeLabelIfExists(labelName_1, issue_1, _a ) {
29865
+ return __awaiter(this, arguments , void 0, function* (labelName, issue, { client } ) {
29866
29866
const hasLabel = issue.labels.nodes.find((labe) => {
29867
29867
return labe.name === labelName;
29868
29868
}) !== undefined;
@@ -29893,8 +29893,8 @@ function removeLabelIfExists(labelName, issue, { client }) {
29893
29893
});
29894
29894
});
29895
29895
}
29896
- function addComment(comment, { number }, { client } ) {
29897
- return __awaiter(this, void 0 , void 0, function* () {
29896
+ function addComment(comment_1, _a, _b ) {
29897
+ return __awaiter(this, arguments , void 0, function* (comment, { number }, { client } ) {
29898
29898
try {
29899
29899
yield client.rest.issues.createComment({
29900
29900
owner: github.context.repo.owner,
0 commit comments