open-component-model/Open Component Model actions
Execute Open Component Model operations on project
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Maintainedlast commit Nov 18, 2025
- License
- Apache 2.0
Pinned Snippet
uses: open-component-model/ocm-action@feb20cf45734794a645467a61791bac17b7d1ec0 # no releases — HEAD as of 2026-07-11tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| action | action to execute | yes | — |
| gen | generation directory | no | gen/ocm |
| component | component name | no | — |
| version | component version | no | — |
| version_cmd | command used to extract actual version | no | — |
| version_file | file to lookup the actual version | no | — |
| directory | directory to store component information | no | — |
| provider | provider name | no | — |
| ctf | ctf file path | no | gen/ocm/ctf |
| var_values | variable values (in yaml syntax) passed to templater | no | — |
| resources | resource specification | no | — |
| references | reference specification | no | — |
| components | component specification | no | — |
| settings | settings file for resource add commands | no | — |
| templater | Templater used for processing input files | no | — |
| comprepo_url | component repository base url | no | — |
| comprepo_user | component repository user | no | — |
| comprepo_password | component repository password | no | — |
| force_push | push a ctf to target location even if it exists | no | — |
Outputs
| name | description |
|---|---|
| component-name | component name |
| component-version | component version |
| component-path | component path |
| transport-archive | transport archive path |