Update tic YAML TemplatesSource:
Updates YAML templates to their latest versions. Currently only GitHub Actions and Circle CI templates are supported.
Path to template which should be updated. By default all standard template paths of GitHub Actions or Circle CI will be searched and updated if they exist. Alternatively a full path to a single template can be passed.
Where the updated template should be written to. This is mainly used for internal testing purposes and should not be set by the user.
By default all workflow files starting with
tic are matched. This
means that you can have multiple YAML files with update support, e.g.
Formatting requirements of tic YAML templates
To ensure that updating of tic templates works, ensure the following points:
Your template contains the type (e.g. linux-matrix-deploy) and the revision date in its first two lines.
When inserting comments into custom code blocks, only one-line comments are allowed. Otherwise the update heuristic gets in trouble.