Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cerbos/cerbos-setup-action
A GitHub action to setup Cerbos binaries
https://github.com/cerbos/cerbos-setup-action
actions cerbos
Last synced: about 18 hours ago
JSON representation
A GitHub action to setup Cerbos binaries
- Host: GitHub
- URL: https://github.com/cerbos/cerbos-setup-action
- Owner: cerbos
- License: apache-2.0
- Created: 2021-10-21T10:07:06.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-11-20T13:47:20.000Z (12 months ago)
- Last Synced: 2023-11-20T15:22:37.631Z (12 months ago)
- Topics: actions, cerbos
- Language: TypeScript
- Homepage: https://cerbos.dev
- Size: 1.05 MB
- Stars: 5
- Watchers: 4
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Cerbos Setup Action
A GitHub action to install [Cerbos](https://github.com/cerbos/cerbos) binaries for use in workflows.
Cerbos 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:
- [Cerbos website](https://cerbos.dev)
- [Cerbos documentation](https://docs.cerbos.dev)
- [Cerbos GitHub repository](https://github.com/cerbos/cerbos)
- [Cerbos Slack community](http://go.cerbos.io/slack)## Usage
If `version` is not specified or set to `latest`, the action will download the latest Cerbos release.
```yaml
steps:
- name: Setup Cerbos
uses: cerbos/cerbos-setup-action@v1
with:
github_token:
version: latest
```## Development
### Prerequisites
You'll need to install
- Node.js, matching the version specified in our [.node-version](../.node-version) file
- A version manager that supports this file is recommended, for example [n](https://github.com/tj/n#readme).
Note that [nvm](https://github.com/nvm-sh/nvm) [does not](https://github.com/nvm-sh/nvm/issues/794).- pnpm, matching the version specified in our [package.json](./package.json) file
- After installing Node.js, you can enable [Corepack](https://nodejs.org/api/corepack.html) to transparently install the correct `pnpm` version:
```console
$ corepack enable
```### Build
```
pnpm run all
```