Rebuild dist

This commit is contained in:
Nick Alteen
2025-09-09 14:48:21 -04:00
parent 060edb2b27
commit f598f6795f
2 changed files with 5 additions and 8 deletions

11
dist/index.js generated vendored
View File

@@ -34825,9 +34825,11 @@ const Octokit = Octokit$1.plugin(requestLog, legacyRestEndpointMethods, paginate
async function run() {
coreExports.info('Running actions/first-interaction!');
// Check if this is an issue or PR event.
const isIssue = githubExports.context.payload.issue !== undefined;
const isPullRequest = githubExports.context.payload.pull_request !== undefined;
// Skip if this is not an issue or PR event.
if (githubExports.context.eventName !== 'issues' &&
githubExports.context.eventName !== 'pull_request')
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')
@@ -34835,12 +34837,7 @@ async function run() {
// Confirm the sender data is present.
if (!githubExports.context.payload.sender)
return coreExports.setFailed('Internal Error...No Sender Provided by GitHub');
// Check if this is an issue or PR event.
const isIssue = githubExports.context.payload.issue !== undefined;
const isPullRequest = githubExports.context.payload.pull_request !== undefined;
// Confirm that only one of the two is present.
if (!isIssue && !isPullRequest)
return coreExports.setFailed('Internal Error...No Issue or PR Provided by GitHub');
if (isIssue && isPullRequest)
return coreExports.setFailed('Internal Error...Both Issue and PR Provided by GitHub');
// Get the action inputs.

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long