Skip to content
play

GitHub Action

Cerbos Setup Action

v1.8.0 Latest version

Cerbos Setup Action

play

Cerbos Setup Action

Setups cerbos by downloading and adding to the path

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Cerbos Setup Action

uses: cerbos/[email protected]

Learn more about this action in cerbos/cerbos-setup-action

Choose a version

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