Fix event action check

This commit is contained in:
Nick Alteen
2025-09-16 13:00:00 -04:00
parent f44c11ebd1
commit 6b35c8253b
5 changed files with 6 additions and 6 deletions

2
dist/index.js generated vendored
View File

@@ -34832,7 +34832,7 @@ async function run() {
if (!isIssue && !isPullRequest)
return coreExports.info('Skipping...Not an Issue/PR Event');
// Skip if this is not an issue/PR open event.
if (githubExports.context.action !== 'opened')
if (githubExports.context.payload.action !== 'opened')
return coreExports.info('Skipping...Not an Opened Event');
// Confirm the sender data is present.
if (!githubExports.context.payload.sender)

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long