sourcery-ai/Sourcery Action
A GitHub Action for running Sourcery.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| token | The Sourcery token for logging in. The Sourcery token can be retrieved from [your dashboard](https://sourcery.ai/dashboard/profile) and uploaded to your GitHub repository as a [GitHub secret](https://docs.github.com/en/actions/security-guides/encrypted-secrets). | yes | — |
| target | File(s) or directory(ies) to review. | no | . |
| version | Sourcery CLI version, e.g. '1.5.0'. If empty, default to the latest version available. | no | "" |
| verbose | Verbose output with explanation and code snippets. Either 'true' or 'false'. | no | true |
| check | Fail job if issues are found. Either 'true' or 'false'. | no | true |
| fix | Automatically fix issues where possible. Either 'true' or 'false'. | no | false |
| in_place | Change files in place. Either 'true' or 'false'. | no | false |
| config | Location of the Sourcery YAML configuration file. | no | "" |
| diff_ref | Reference to compare the current branch with and run Sourcery on the diff. If empty, run Sourcery on the entire codebase. To review only code that changed in a PR, use "github.event.pull_request.base.sha". | no | "" |
Outputs
no outputs