Skip to content

cerbos/cerbos-setup-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

Cerbos Setup Action

A GitHub action to install 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:

Usage

If version is not specified or set to latest, the action will download the latest Cerbos release.

steps:
  - name: Setup Cerbos
    uses: cerbos/cerbos-setup-action@v1
    with:
      github_token: <github_token>
      version: latest

Development

Prerequisites

You'll need to install

  • Node.js, matching the version specified in our .node-version file

    • A version manager that supports this file is recommended, for example n. Note that nvm does not.
  • pnpm, matching the version specified in our package.json file

    • After installing Node.js, you can enable Corepack to transparently install the correct pnpm version:
      $ corepack enable

Build

pnpm run all