https://github.com/koki-develop/ghasec-action
🛡️ A GitHub Action to run ghasec, a security linter for GitHub Actions workflows.
https://github.com/koki-develop/ghasec-action
Last synced: 24 days ago
JSON representation
🛡️ A GitHub Action to run ghasec, a security linter for GitHub Actions workflows.
- Host: GitHub
- URL: https://github.com/koki-develop/ghasec-action
- Owner: koki-develop
- License: mit
- Created: 2026-03-25T00:39:55.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2026-03-25T00:48:02.000Z (about 1 month ago)
- Last Synced: 2026-03-26T06:57:02.621Z (about 1 month ago)
- Homepage: https://github.com/marketplace/actions/ghasec-action
- Size: 9.77 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# ghasec-action
A GitHub Action to run [ghasec](https://github.com/koki-develop/ghasec), a security linter for GitHub Actions workflows.
## Usage
```yaml
- uses: koki-develop/ghasec-action@v1.0.2
```
### Inputs
| Name | Description | Default |
| --- | --- | --- |
| `version` | Version of ghasec to install (e.g. `X.Y.Z`, `vX.Y.Z`, or `latest`) | `latest` |
| `github-token` | GitHub token for API requests (to avoid rate limiting) | `${{ github.token }}` |
| `online` | Enable rules that require network access | `false` |
| `args` | Additional arguments to pass to ghasec | |
### Example
```yaml
name: ghasec
on:
pull_request:
push:
branches: [main]
jobs:
ghasec:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: koki-develop/ghasec-action@v1.0.2
```
## License
[MIT](./LICENSE)