yaoyinying/Dynamic fuck-u-code Badge connected with GitHub Artifact
Perform fuck-u-code check upon your code and update badge to GitHub artifact. See https://github.com/Done-0/fuck-u-code
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| target-path | The path, relative to the root of the repo, of source code to scan | yes | — |
| fuck-u-code-args | Additional arguments to pass to fuck-u-code, e.g. `--exclude "xxx"`, `"--top xx"` | no | "" |
| reverse-score | Reverse the score, i.e. a score of 100 is good and a score of 0 is bad | no | false |
| badge-text | Text to display in the badge. Please use double dashes to replace single dashes, e.g. `fuck--u--codet` to represent `fuck-u-code` | no | fuck--u--code |
| color-bad-score | Color of the badge for fuck-u-code scores < 60. Hex, rgb, rgba, hsl, hsla and css named colors can all be used | no | red |
| color-ok-score | Color of the badge for fuck-u-code scores in range [60,90). Hex, rgb, rgba, hsl, hsla and css named colors can all be used | no | orange |
| color-good-score | Color of the badge for fuck-u-code scores in range [90,100). Hex, rgb, rgba, hsl, hsla and css named colors can all be used | no | yellow |
| color-perfect-score | Color of the badge for fuck-u-code scores == 100. Hex, rgb, rgba, hsl, hsla and css named colors can all be used | no | brightgreen |
| badge-artifact-name | The name of the artifact name for the badge file to upload. | — | upload-my-awesome-badge |
| badge-file-name | The name of the badge file. | — | badge |
| badge-logo-id | The ID of the logo to use for the badge from https://simpleicons.org/ | yes | go |
| CLOUDFLARE_API_TOKEN | Cloudflare API token | yes | — |
| R2_BUCKET | R2 bucket name | yes | — |
| R2_badge_path | Path to the badge file in R2 bucket | — | my-awesome-badges/example/ |
Outputs
no outputs