aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorGravatar Reinier van der Leer <pwuts@agpt.co> 2024-03-01 10:41:34 +0100
committerGravatar Reinier van der Leer <pwuts@agpt.co> 2024-03-01 10:41:34 +0100
commit4011294da0b65f16d91b3c0ebe971b7055459684 (patch)
tree9d3aaf28b8d9f2fe93c384ab996cd9721f50ec1b /.github
parentci(arena): Fix `arena-intake` workflow (diff)
downloadAuto-GPT-4011294da0b65f16d91b3c0ebe971b7055459684.tar.gz
Auto-GPT-4011294da0b65f16d91b3c0ebe971b7055459684.tar.bz2
Auto-GPT-4011294da0b65f16d91b3c0ebe971b7055459684.zip
ci(arena): Fix `arena-intake` workflow
Sorry folks, it's been a while since I wrote javascript :')
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/arena-intake.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/arena-intake.yml b/.github/workflows/arena-intake.yml
index 8ecd67688..8112e1436 100644
--- a/.github/workflows/arena-intake.yml
+++ b/.github/workflows/arena-intake.yml
@@ -52,11 +52,11 @@ jobs:
if (isFork) {
if (arenaFilesChanged.length > 1) {
// Impacting multiple entries in `arena/` is not allowed
- issues.append('This pull request impacts multiple arena entries');
+ issues.push('This pull request impacts multiple arena entries');
}
if (hasChangesInAutogptsFolder) {
// PRs that include the custom agent are generally not allowed
- issues.append(
+ issues.push(
'This pull request includes changes in `autogpts/`.\n'
+ 'Please make sure to only submit your arena entry (`arena/*.json`), '
+ 'and not to accidentally include your custom agent itself.'
@@ -82,7 +82,7 @@ jobs:
const arenaEntry = JSON.parse(fs.readFileSync(file));
if (arenaEntry.github_repo_url === newArenaEntry.github_repo_url) {
- issues.append(
+ issues.push(
`The github_repo_url specified in __${newArenaFileName}__ `
+ `already exists in __${file}__. `
+ `This PR will be closed as duplicate.`
@@ -91,7 +91,7 @@ jobs:
}
}
} else {
- issues.append(
+ issues.push(
`__${newArenaFileName}__ conflicts with existing entry with the same name`
)
close = true;