Skip to content

Commit b34a11b

Browse files
committed
Added conversion note to failures and ability to manually run
1 parent 172b80f commit b34a11b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/pr-new-env.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: PR New Environment
22

33
on:
4+
workflow_dispatch:
45
pull_request_target:
56
types:
67
- opened
@@ -177,7 +178,7 @@ jobs:
177178
178179
const summary = status === 'success'
179180
? 'Your env passes the vibe check. However, most environments should go straight to the hub, they will automatically be added to the official Env Hub collection on a nightly basis. Environments in the official specification repo are only meant to demonstrate usage of a specific spec feature for educational purposes. Re-run locally with:'
180-
: 'Validation reported issues. Review the log and re-run locally:';
181+
: 'Validation reported issues. Review the log and re-run locally with `openenv validate --verbose`. Please note, we recently changed the standard template, your environment might pre-date this standard, follow the conversion guide https://github.com/meta-pytorch/OpenEnv/blob/main/scripts/CONVERT.md to convert your environment to the new standard.';
181182
182183
const envDir = 'src/envs/' + envName;
183184
const rawLog = process.env.VALIDATION_LOG || '';

0 commit comments

Comments
 (0)