Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 11 additions & 5 deletions pr-impact-analysis/dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -40701,15 +40701,21 @@ async function run() {
throw new Error(`Worker error: ${data.error}`);
}

// 3. Set outputs
core.setOutput('jira-issue-key', data.jiraIssueKey || '');
core.setOutput('jira-issue-url', data.jiraIssueUrl || '');
// 3. Validate and set outputs
const skipped = data.skipped === true;
core.setOutput('skipped', String(skipped));
core.setOutput('analysis-summary', data.analysisSummary || '');
core.setOutput('skipped', String(data.skipped));

if (data.skipped) {
if (skipped) {
core.setOutput('jira-issue-key', '');
core.setOutput('jira-issue-url', '');
core.info(`Skipped (${data.skipReason}): ${data.analysisSummary}`);
} else {
if (!data.jiraIssueKey || !data.jiraIssueUrl) {
throw new Error('Worker returned success but missing Jira issue key/url');
}
core.setOutput('jira-issue-key', data.jiraIssueKey);
core.setOutput('jira-issue-url', data.jiraIssueUrl);
core.info(`Done! Jira issue created: ${data.jiraIssueKey} — ${data.jiraIssueUrl}`);
}
} catch (error) {
Expand Down
8 changes: 4 additions & 4 deletions s3-upload/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion slack-notify-webhook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"dependencies": {
"@actions/core": "^1.10.1",
"axios": "1.15.0",
"axios": "1.15.1",
"needle": "^2.8.0"
},
"devDependencies": {
Expand Down
8 changes: 4 additions & 4 deletions slack-notify-webhook/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ asynckit@^0.4.0:
resolved "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz"
integrity sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==

axios@1.15.0:
version "1.15.0"
resolved "https://registry.yarnpkg.com/axios/-/axios-1.15.0.tgz#0fcee91ef03d386514474904b27863b2c683bf4f"
integrity sha512-wWyJDlAatxk30ZJer+GeCWS209sA42X+N5jU2jy6oHTp7ufw8uzUTVFBX9+wTfAlhiJXGS0Bq7X6efruWjuK9Q==
axios@1.15.1:
version "1.15.1"
resolved "https://registry.yarnpkg.com/axios/-/axios-1.15.1.tgz#075420b785da8adbdf545785b69f90c926b28542"
integrity sha512-WOG+Jj8ZOvR0a3rAn+Tuf1UQJRxw5venr6DgdbJzngJE3qG7X0kL83CZGpdHMxEm+ZK3seAbvFsw4FfOfP9vxg==
dependencies:
follow-redirects "^1.15.11"
form-data "^4.0.5"
Expand Down