mirror of
https://github.com/anthropics/claude-code-action.git
synced 2026-01-23 23:14:13 +08:00
fix sticky comment variable name (#226)
* fix sticky comment variable name * fix condition
This commit is contained in:
@@ -29,7 +29,7 @@ export async function createInitialComment(
|
||||
if (
|
||||
context.inputs.useStickyComment &&
|
||||
context.isPR &&
|
||||
!isPullRequestEvent(context)
|
||||
isPullRequestEvent(context)
|
||||
) {
|
||||
const comments = await octokit.rest.issues.listComments({
|
||||
owner,
|
||||
|
||||
Reference in New Issue
Block a user