Further WF improvements
This commit is contained in:
parent
5ff8c369be
commit
7ac2c26759
6
.github/workflows/close-discussion.yaml
vendored
6
.github/workflows/close-discussion.yaml
vendored
@ -102,6 +102,8 @@ jobs:
|
||||
}
|
||||
`;
|
||||
|
||||
//
|
||||
try {
|
||||
const discussionResponse = await graphqlWithAuth(discussionQuery, {
|
||||
owner,
|
||||
repo,
|
||||
@ -113,6 +115,10 @@ jobs:
|
||||
console.log("Failed to fetch discussion GraphQL ID.");
|
||||
return;
|
||||
}
|
||||
} catch (error) {
|
||||
console.error("Discussion not found or error occurred while fetching discussion:", error);
|
||||
return;
|
||||
}
|
||||
|
||||
// Post comment
|
||||
const commentMutation = `
|
||||
|
Loading…
x
Reference in New Issue
Block a user