mirror of
https://github.com/github/awesome-copilot.git
synced 2026-06-13 11:33:32 +00:00
chore: publish from staged
This commit is contained in:
@@ -233,7 +233,7 @@ jobs:
|
|||||||
...unmatchedRows
|
...unmatchedRows
|
||||||
].join('\n')
|
].join('\n')
|
||||||
: '',
|
: '',
|
||||||
].filter(Boolean).join('\n');
|
].join('\n');
|
||||||
|
|
||||||
if (existingTrackerIssues.length > 0) {
|
if (existingTrackerIssues.length > 0) {
|
||||||
const [primary, ...duplicates] = existingTrackerIssues;
|
const [primary, ...duplicates] = existingTrackerIssues;
|
||||||
|
|||||||
@@ -214,7 +214,7 @@ jobs:
|
|||||||
exitCode !== '0'
|
exitCode !== '0'
|
||||||
? '> **Note:** The validator returned a non-zero exit code. Please review the findings above before merge.'
|
? '> **Note:** The validator returned a non-zero exit code. Please review the findings above before merge.'
|
||||||
: '',
|
: '',
|
||||||
].filter(Boolean).join('\n');
|
].join('\n');
|
||||||
|
|
||||||
// Find existing comment with our marker
|
// Find existing comment with our marker
|
||||||
const { data: comments } = await github.rest.issues.listComments({
|
const { data: comments } = await github.rest.issues.listComments({
|
||||||
|
|||||||
@@ -553,7 +553,7 @@ function buildMergedIntakeComment(baseResult, qualityResult, runId, owner, repo)
|
|||||||
? ["", "### Warnings", "", ...baseResult.warnings.map((warning) => `- ${warning}`)].join("\n")
|
? ["", "### Warnings", "", ...baseResult.warnings.map((warning) => `- ${warning}`)].join("\n")
|
||||||
: "",
|
: "",
|
||||||
runLink ? `\n${runLink}` : "",
|
runLink ? `\n${runLink}` : "",
|
||||||
].filter(Boolean).join("\n");
|
].join("\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
export function applyQualityGateResult(baseEvaluation, qualityGateResult, runId, owner, repo) {
|
export function applyQualityGateResult(baseEvaluation, qualityGateResult, runId, owner, repo) {
|
||||||
@@ -644,7 +644,7 @@ export async function evaluateExternalPluginIssue({ issue, token, runId, owner,
|
|||||||
? ["", "### Warnings", "", ...dedupedWarnings.map((warning) => `- ${warning}`)].join("\n")
|
? ["", "### Warnings", "", ...dedupedWarnings.map((warning) => `- ${warning}`)].join("\n")
|
||||||
: "",
|
: "",
|
||||||
runLink ? `\n${runLink}` : "",
|
runLink ? `\n${runLink}` : "",
|
||||||
].filter(Boolean).join("\n")
|
].join("\n")
|
||||||
: [
|
: [
|
||||||
marker,
|
marker,
|
||||||
"## ❌ External plugin intake failed",
|
"## ❌ External plugin intake failed",
|
||||||
@@ -659,7 +659,7 @@ export async function evaluateExternalPluginIssue({ issue, token, runId, owner,
|
|||||||
? ["", "### Warnings", "", ...dedupedWarnings.map((warning) => `- ${warning}`)].join("\n")
|
? ["", "### Warnings", "", ...dedupedWarnings.map((warning) => `- ${warning}`)].join("\n")
|
||||||
: "",
|
: "",
|
||||||
runLink ? `\n${runLink}` : "",
|
runLink ? `\n${runLink}` : "",
|
||||||
].filter(Boolean).join("\n");
|
].join("\n");
|
||||||
|
|
||||||
return {
|
return {
|
||||||
valid,
|
valid,
|
||||||
|
|||||||
Reference in New Issue
Block a user