aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Reinier van der Leer <pwuts@agpt.co> 2024-03-01 11:07:54 +0100
committerGravatar Reinier van der Leer <pwuts@agpt.co> 2024-03-01 11:07:54 +0100
commit4121d3712d928be32fcaac8f145c76cf27190f28 (patch)
tree02feec6ad55ef0e0d0a22af7e7527ac5c5d43171
parentfeat(ci/arena): Add logging and debug output to workflow script (diff)
downloadAuto-GPT-4121d3712d928be32fcaac8f145c76cf27190f28.tar.gz
Auto-GPT-4121d3712d928be32fcaac8f145c76cf27190f28.tar.bz2
Auto-GPT-4121d3712d928be32fcaac8f145c76cf27190f28.zip
fix(ci/arena): Fix syntax & formatting errors
-rw-r--r--.github/workflows/arena-intake.yml12
1 files changed, 6 insertions, 6 deletions
diff --git a/.github/workflows/arena-intake.yml b/.github/workflows/arena-intake.yml
index 92459597d..507726c44 100644
--- a/.github/workflows/arena-intake.yml
+++ b/.github/workflows/arena-intake.yml
@@ -91,7 +91,7 @@ jobs:
continue;
}
- console.debug(`Checking against ${file}`...)
+ console.debug(`Checking against ${file}...`);
const arenaEntry = JSON.parse(fs.readFileSync(file));
if (arenaEntry.github_repo_url === newArenaEntry.github_repo_url) {
@@ -113,12 +113,12 @@ jobs:
}
} // end if (arenaFilesChanged.length === 1)
- console.log('ℹ️ Finished checking against existing entries')
+ console.log('ℹ️ Finished checking against existing entries');
if (issues.length == 0) {
console.log('✅ No issues detected');
if (flagForManualCheck) {
- console.log('ℹ️ Requesting review from maintainers...')
+ console.log('ℹ️ Requesting review from maintainers...');
await github.rest.pulls.requestReviewers({
owner: github.context.repo.owner,
repo: github.context.repo.repo,
@@ -137,7 +137,7 @@ jobs:
} else {
console.log(`⚠️ ${issues.length} issues detected`);
- console.log('ℹ️ Posting comment indicating issues...')
+ console.log('ℹ️ Posting comment indicating issues...');
await github.rest.issues.createComment({
owner: github.context.repo.owner,
repo: github.context.repo.repo,
@@ -146,7 +146,7 @@ jobs:
+ issues.map(i => `- ${i.replace('\n', '\n ')}`).join('\n'),
});
- console.log("ℹ️ Applying label 'invalid'...")
+ console.log("ℹ️ Applying label 'invalid'...");
await github.rest.issues.addLabels({
owner: github.context.repo.owner,
repo: github.context.repo.repo,
@@ -155,7 +155,7 @@ jobs:
});
if (close) {
- console.log('ℹ️ Auto-closing PR...')
+ console.log('ℹ️ Auto-closing PR...');
await github.rest.pulls.update({
owner: github.context.repo.owner,
repo: github.context.repo.repo,