Releases: gagoar/codeowners-generator
v2.4.1
Action 2.0: now with preserve block position fixed!
Per @bmaximuml, Current logic adds --preserve-block-position to a list of args if the length of the value provided to the preserve-block-position GitHub actions variable is not zero. Since it defaults to the string false, this effectively defaults it to true. You can only disable it by setting it explicitly to an empty string. This PR corrects this logic by only enabling preserve-block-position if it's explicitly set to true.
BREAKING CHANGE: Effectively change the default value for preserve-block-position in GitHub actions
Thanks to @gustavkj for his review and support!
v2.4.0
Remove extraneous quote from action.yml
There was an odd quote preventing the workflow to run properly.
now with preserve block position!
We have added the ability to provide the --preserve-block-position
(preventBlockPosition
) to the action.
Remember that you can always create a configuration in your project that it will be picked up by the tool running on the action:
For example, if you create any files with the following names, codeowners-generator
will pick it up!
- a
codowners-generator
property in package.json - a
.codowners-generatorrc
file in JSON or YAML format - a
.codowners-generator.json
,.codowners-generator.yaml
,.codowners-generator.yml
,.codowners-generator.js
, or.codowners-generator.cjs
file - a
codowners-generatorrc
,codowners-generator.json
,codowners-generatorrc.yaml
,codowners-generatorrc.yml
,codowners-generator.js
orcodowners-generator.cjs
file inside a .config subdirectory - a
codowners-generator.config.js
orcodowners-generator.config.cjs
CommonJS module exporting an object
action.v1: adding composite action to use codeowners-generator in a workflow (#337)
This PR will add the the capability for the project to be an action in GitHub. I will fast follow this PR with a release so I can publish it on the GitHub market. This PR should close #335