coursekata/Find duplicate items in a CourseKata course
Check a CourseKata course for duplicate interactive items, such as repeated CKCode items with the same ID. These will trigger build errors, so they should be fixed before the course is built.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| include | A multiline input of the globs to use to build search paths to find the book configuration files. Use a newline to separate each glob. | no | . |
| follow-symbolic-links | Indicates whether to follow symbolic links when searching the globs for book configurations. | no | true |
| fail-on-duplicates | Indicates whether to fail the action if duplicate items are found. If set to 'false', the action will only return warnings. | no | true |
Outputs
| name | description |
|---|---|
| duplicates | A JSON object as a string, where the keys are the IDs of the duplicate items and the values are the files and lines they were found in. If none are found, an empty object is returned. |