{"id":18715103,"url":"https://github.com/cerbos/cerbos-compile-action","last_synced_at":"2026-01-05T10:12:53.920Z","repository":{"id":42574476,"uuid":"419672296","full_name":"cerbos/cerbos-compile-action","owner":"cerbos","description":"Compile and test Cerbos policies","archived":false,"fork":false,"pushed_at":"2025-07-07T07:17:52.000Z","size":1181,"stargazers_count":7,"open_issues_count":2,"forks_count":3,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-07-29T11:54:01.017Z","etag":null,"topics":["actions","cerbos"],"latest_commit_sha":null,"homepage":"https://cerbos.dev","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cerbos.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-10-21T10:08:32.000Z","updated_at":"2025-07-07T07:08:09.000Z","dependencies_parsed_at":"2023-02-17T06:20:21.056Z","dependency_job_id":"c672103a-203e-40ec-b36d-90b70a4d3947","html_url":"https://github.com/cerbos/cerbos-compile-action","commit_stats":{"total_commits":47,"total_committers":3,"mean_commits":"15.666666666666666","dds":0.3191489361702128,"last_synced_commit":"5acc08509fdbb52e4cb2fa81b0f539c3cba9640a"},"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"purl":"pkg:github/cerbos/cerbos-compile-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cerbos%2Fcerbos-compile-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cerbos%2Fcerbos-compile-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cerbos%2Fcerbos-compile-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cerbos%2Fcerbos-compile-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cerbos","download_url":"https://codeload.github.com/cerbos/cerbos-compile-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cerbos%2Fcerbos-compile-action/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268215611,"owners_count":24214365,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-01T02:00:08.611Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["actions","cerbos"],"created_at":"2024-11-07T13:07:35.589Z","updated_at":"2026-01-05T10:12:53.915Z","avatar_url":"https://github.com/cerbos.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cerbos Compile Action\n\nA GitHub action to compile Cerbos policies and execute policy tests.\n\nCerbos helps you super-charge your authorization implementation by writing context-aware access control policies for your application resources. Find out more about Cerbos using the following resources:\n\n- [Cerbos website](https://cerbos.dev)\n- [Cerbos documentation](https://docs.cerbos.dev)\n- [Cerbos GitHub repository](https://github.com/cerbos/cerbos)\n- [Cerbos Slack community](http://go.cerbos.io/slack)\n\n## Usage\n\nUse the [cerbos-setup-action](https://github.com/cerbos/cerbos-setup-action) to install Cerbos binaries. Then use this action to validate and test your Cerbos policies. See the [documentation](https://docs.cerbos.dev/cerbos/latest/policies/compile.html) for more information about how to compile policies and author policy tests.\n\n```yaml\n- uses: actions/checkout@v2\n\n- name: Setup Cerbos\n  uses: cerbos/cerbos-setup-action@v1\n\n- name: Compile with Cerbos\n  uses: cerbos/cerbos-compile-action@v1\n  with:\n    policyDir: policies\n```\n\n## Development\n\n### Prerequisites\n\nYou'll need to install\n\n- Node.js, matching the version specified in our [.node-version](../.node-version) file\n\n  - A version manager that supports this file is recommended, for example [n](https://github.com/tj/n#readme).\n    Note that [nvm](https://github.com/nvm-sh/nvm) [does not](https://github.com/nvm-sh/nvm/issues/794).\n\n- pnpm, matching the version specified in our [package.json](./package.json) file\n\n  - After installing Node.js, you can enable [Corepack](https://nodejs.org/api/corepack.html) to transparently install the correct `pnpm` version:\n    ```console\n    $ corepack enable\n    ```\n\n### Build\n\n```\npnpm run build\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcerbos%2Fcerbos-compile-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcerbos%2Fcerbos-compile-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcerbos%2Fcerbos-compile-action/lists"}