marocchino/Checkbox Action
Checks or unchecks a checkbox in the body of the pull request, or returns the list confirming the change in the checkbox.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| action | check, uncheck or detect. This default to check | no | check |
| list | Line separated List of checkboxes to modify. ex) list 1\nlist 2 | no | "" |
| matches | Regular expression for the checkbox to modify. | no | "" |
| error | error, warn or ignore. Specifies whether to skip or raise an error when error occurred. This defaults to error | no | error |
| GITHUB_TOKEN | The GitHub access token (e.g. secrets.GITHUB_TOKEN) used to update the body. This defaults to {{ github.token }}. | no | ${{ github.token }} |
Outputs
| name | description |
|---|---|
| checked | Returns a list of checked items from the previous modification as json in []string. |
| unchecked | Returns a list of unchecked items from the previous modification as json in []string. |