Shared GitHub Actions and org-wide files for the Open Logix repos.
This is an internal repo. It makes nothing for users. It holds pieces that the workflows of several Open Logix repos use, so each fix is made once.
Problems or ideas? Report them in Logix Engine's issues: this repo takes no issues. Security problems: report them privately, as SECURITY.md says.
profile/README.md is shown on github.com/openlogix. It lists the Open Logix repos.
Composite actions in actions/, and one reusable workflow, used from the other repos' workflows. A release workflow, for example:
- uses: openlogix/.github/actions/start-pre-release@main # first job with: package-name: logix-catalog description: Logix Catalog's boards and FPGAs, as Logix Engine downloads them. - uses: openlogix/.github/actions/publish-pre-release@main # last job with: title: "Logix Catalog: Every FPGA board, described once." engine-note: catalog files: _out/logix-catalog-${{ env.PACKAGE_TAG }}.tgz
| Action | What it does |
|---|---|
start-pre-release |
A release workflow's start: today's tags, the stable-release check, BUILD-INFO.json, also shown on the run's summary page |
read-build-info |
Gets BUILD-INFO.json in a later job, with the platform, into env vars |
publish-pre-release |
A release workflow's end: checksums, the standard release text, the day's pre-release made again from scratch, and the cleanup |
check-platform |
Fails unless the runner has the given OS and architecture |
scan-files-for-viruses |
Scans files, including inside archives, with ClamAV |
check-remote-config |
Checks a repo's remote configs (remote-config/<product>/: index.jsonc and a folder per config version, <NNN>/, with assign.jsonc and a <channel>-channel.jsonc per channel): the schemas, the channels, latest, and that every named release exists, has its files, and is stable in prod-channel.jsonc (outside prod, a dependency may name newest, its repo's newest release) |
list-config-channels |
Lists the channels of a product's newest config version folder, for a test matrix |
assert-step-failed |
Fails unless an earlier step failed, for testing expected failures |
publish-docs.yaml (reusable workflow) |
Builds a repo's MkDocs site and deploys it to its GitHub Pages |
The pre-release policy (each repo keeps its newest 5 pre-releases, plus any a remote config on main names; stable releases are never deleted) is set in one place, actions/release-policy.sh.
actions-test.yaml tests every action on each change and daily.
repos-janitor.yaml checks across the Open Logix repos every 6 hours what no single repo's CI can see, as requirements (as Apio's janitor): remote configs valid, the releases they name valid and (for prod) stable, each repo's Latest right for its type, dev configs not behind prod, release tags that are dates, the website's schema copies, every repo's daily builds (by the newest finished run), each repo's type in its .github/logix-repo-metadata.jsonc, its settings, sidebar, About and standard files, its README header and status badges, the org lists, and the website's llms.txt. Its run summary lists what failed, each with why it applies, the result and links to fix it, then what passed; the run, and its badge above, go red on any failure. It only reads, and only reports for now.
Workflows use the latest version, @main, so a fix reaches every repo as soon as it's pushed. Changes are tested by actions-test.yaml.
MIT or Apache-2.0, at your option.