An open API service indexing awesome lists of open source software.

https://github.com/minchao/setup-gator

Set up your GitHub Actions workflow with a specific version of Gatekeeper gator CLI
https://github.com/minchao/setup-gator

gatekeeper github-actions

Last synced: 2 months ago
JSON representation

Set up your GitHub Actions workflow with a specific version of Gatekeeper gator CLI

Awesome Lists containing this project

README

          

# Set up Gatekeeper gator CLI

[![build-test](https://github.com/minchao/setup-gator/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/minchao/setup-gator/actions/workflows/test.yml)

Set up your GitHub Actions workflow with a specific version of [Gatekeeper gator CLI](https://open-policy-agent.github.io/gatekeeper/website/docs/gator).

## Usage

Set up the workflow:

```yaml
- uses: minchao/setup-gator@v3
```

> default is the latest release.

Set up the workflow with a specific version:

```yaml
- uses: minchao/setup-gator@v3
with:
version: 'v3.22.0'
```

To test the all unit test suites:

```yaml
- uses: minchao/setup-gator@v3
- run: gator test ./...
```

## License

The scripts and documentation in this project are released under the [MIT License](LICENSE).