You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
GitHub Actions: shared CI/CD actions for openshell-annotate #61
Projects that annotate their code with @openshell directives have no ready-made way to run openshell-annotate in CI. Each repo would have to script the install and every check itself.
Proposed solution
Add reusable GitHub Actions to this repo that other repos can pull in with uses: ilanh/openshell-annotate/...@<ref>:
setup: install a pinned (or latest) openshell-annotate release on Linux and macOS runners and put it on PATH, with caching.
drift: fail the job when the committed policy no longer matches the annotations.
lint: report unannotated network, filesystem and exec code as GitHub annotations and a job summary, with a configurable fail threshold.
generate: regenerate the policy (and optionally providers) and expose it as an output or artifact, for CD pipelines that build sandbox images.
diff-logs: map a sandbox log file to missing or stale directives.
Possibly also a one-step check action or reusable workflow that bundles setup, drift and lint for the common case.
The actions need a self-test workflow in this repo that runs them against examples/, plus README docs with usage examples. A downstream consumer (ilanh/openspell-python-tester) will adopt them afterwards.
Alternatives considered
A Docker-based action. That is slower, and Docker image publishing is a separate milestone.
Activity
chore: release v0.1.0-rc.3 (#63)