Skip to content

Commit 24934bd

Browse files
authored
Merge pull request #24 from LangMem/feat/cc_ci
Feat/cc ci
2 parents 7e882d3 + 9c5f286 commit 24934bd

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/auto-comment-for-clarity.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ name: Auto Comment for Clarity
1616
on:
1717
issues:
1818
types: [opened]
19-
discussions:
20-
types: [created]
2119
jobs:
2220
auto-comment:
2321
runs-on: ubuntu-latest
@@ -134,7 +132,8 @@ jobs:
134132
body: commentBody
135133
});
136134
} else if (targetType === 'discussion') {
137-
await github.rest.repos.createDiscussionComment({
135+
// Use the correct GitHub REST API for discussion comments
136+
await github.request('POST /repos/{owner}/{repo}/discussions/{discussion_number}/comments', {
138137
owner,
139138
repo,
140139
discussion_number: number,

.github/workflows/issue-translation.yml

Whitespace-only changes.

0 commit comments

Comments
 (0)