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

https://github.com/koki-develop/setup-ghasec

🛡️ A GitHub Action to install ghasec, a security linter for GitHub Actions workflows.
https://github.com/koki-develop/setup-ghasec

github-actions security

Last synced: 24 days ago
JSON representation

🛡️ A GitHub Action to install ghasec, a security linter for GitHub Actions workflows.

Awesome Lists containing this project

README

          

# setup-ghasec

A GitHub Action to install [ghasec](https://github.com/koki-develop/ghasec), a security linter for GitHub Actions workflows.

## Usage

```yaml
- uses: koki-develop/setup-ghasec@v1.0.0
```

### Inputs

| Name | Description | Default |
| --- | --- | --- |
| `version` | Version to install (e.g. `X.Y.Z`, `vX.Y.Z`, or `latest`) | `latest` |
| `token` | GitHub token for API requests (to avoid rate limiting) | `${{ github.token }}` |

### Example

```yaml
name: ghasec

on:
pull_request:
push:
branches: [main]

jobs:
ghasec:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: koki-develop/setup-ghasec@v1.0.0
- run: ghasec --format=github-actions
```

## License

[MIT](./LICENSE)