bot/src/build-targets.ts
openaliro/openaliro
Module
build-targets.ts
@file The targets choices firmware-builds.yml actually accepts.
Overview
@file The targets choices firmware-builds.yml actually accepts.
Hand-copied from .github/workflows/firmware-builds.yml's workflow_dispatch
input rather than parsed at request time, because a Worker has no access to
that file. test/build-targets.test.ts re-parses the live workflow and
asserts this list matches it exactly, so an added or renamed target fails
the build instead of /build silently offering a stale choice.
used by build.ts
Undocumented (1)
isKnownTarget