Shows the status of the branch, like ct status, then exits 1 when:
- a language is less complete than
--require-complete(default 100), or - a translation file differs from what ct pull would write.
It writes nothing, so it fits a pull request job.
SH
ct check --require-complete 95| Option | Effect |
|---|---|
--require-complete 95 | The minimum completeness, a percentage from 0 to 100 |
--language de | Limit the check to one language. Repeat the option for more |
Inactive languages do not count towards the completeness. When everything is fine, check prints Everything is complete and up to date.
Needs #
An API key with the projects:read and translations:read scopes, which a Pull only key has.