Skip to content
Merged
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
8 changes: 4 additions & 4 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -71624,7 +71624,7 @@ function fixMessageForType(type, commit, _failedCount) {
` ${signCmd}`,
``,
`For CI to verify the signer, commit an identity bundle:`,
` auths id export-bundle --alias main --output .auths/ci-bundle.json --max-age-secs 31536000`,
` auths id export-bundle --alias main --output .auths/ci-bundle.json --max-age-secs 2592000`,
``,
`Quickstart: https://github.com/auths-dev/auths#quickstart`,
].join('\n');
Expand All @@ -71633,7 +71633,7 @@ function fixMessageForType(type, commit, _failedCount) {
`Commit ${commit.slice(0, 8)} is signed, but its signer could not be verified against the trusted identity.`,
`Make sure the CI identity bundle is present and current, then pass it via the \`identity-bundle\` input:`,
``,
` auths id export-bundle --alias main --output .auths/ci-bundle.json --max-age-secs 31536000`,
` auths id export-bundle --alias main --output .auths/ci-bundle.json --max-age-secs 2592000`,
].join('\n');
case 'invalid_signature':
return `Commit ${commit.slice(0, 8)} has an invalid signature. Re-sign it:\n ${signCmd}`;
Expand Down Expand Up @@ -71723,7 +71723,7 @@ function buildSummaryMarkdown(results, passed, skipped, failed, total) {
lines.push('');
lines.push('For CI to verify the signer, commit an identity bundle:');
lines.push('```bash');
lines.push('auths id export-bundle --alias main --output .auths/ci-bundle.json --max-age-secs 31536000');
lines.push('auths id export-bundle --alias main --output .auths/ci-bundle.json --max-age-secs 2592000');
lines.push('```');
lines.push('');
lines.push('[Quickstart →](https://github.com/auths-dev/auths#quickstart)');
Expand All @@ -71732,7 +71732,7 @@ function buildSummaryMarkdown(results, passed, skipped, failed, total) {
lines.push(`Commit \`${firstFailed.commit.slice(0, 8)}\` is signed, but its signer could not be verified against the trusted identity.`);
lines.push('Make sure the CI identity bundle is present and current, then pass it via the `identity-bundle` input:');
lines.push('```bash');
lines.push('auths id export-bundle --alias main --output .auths/ci-bundle.json --max-age-secs 31536000');
lines.push('auths id export-bundle --alias main --output .auths/ci-bundle.json --max-age-secs 2592000');
lines.push('```');
break;
case 'invalid_signature':
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ function fixMessageForType(type: FailureType, commit: string, _failedCount: numb
` ${signCmd}`,
``,
`For CI to verify the signer, commit an identity bundle:`,
` auths id export-bundle --alias main --output .auths/ci-bundle.json --max-age-secs 31536000`,
` auths id export-bundle --alias main --output .auths/ci-bundle.json --max-age-secs 2592000`,
``,
`Quickstart: https://github.com/auths-dev/auths#quickstart`,
].join('\n');
Expand All @@ -327,7 +327,7 @@ function fixMessageForType(type: FailureType, commit: string, _failedCount: numb
`Commit ${commit.slice(0, 8)} is signed, but its signer could not be verified against the trusted identity.`,
`Make sure the CI identity bundle is present and current, then pass it via the \`identity-bundle\` input:`,
``,
` auths id export-bundle --alias main --output .auths/ci-bundle.json --max-age-secs 31536000`,
` auths id export-bundle --alias main --output .auths/ci-bundle.json --max-age-secs 2592000`,
].join('\n');

case 'invalid_signature':
Expand Down Expand Up @@ -431,7 +431,7 @@ export function buildSummaryMarkdown(
lines.push('');
lines.push('For CI to verify the signer, commit an identity bundle:');
lines.push('```bash');
lines.push('auths id export-bundle --alias main --output .auths/ci-bundle.json --max-age-secs 31536000');
lines.push('auths id export-bundle --alias main --output .auths/ci-bundle.json --max-age-secs 2592000');
lines.push('```');
lines.push('');
lines.push('[Quickstart →](https://github.com/auths-dev/auths#quickstart)');
Expand All @@ -440,7 +440,7 @@ export function buildSummaryMarkdown(
lines.push(`Commit \`${firstFailed.commit.slice(0, 8)}\` is signed, but its signer could not be verified against the trusted identity.`);
lines.push('Make sure the CI identity bundle is present and current, then pass it via the `identity-bundle` input:');
lines.push('```bash');
lines.push('auths id export-bundle --alias main --output .auths/ci-bundle.json --max-age-secs 31536000');
lines.push('auths id export-bundle --alias main --output .auths/ci-bundle.json --max-age-secs 2592000');
lines.push('```');
break;
case 'invalid_signature':
Expand Down
Loading