feat(convert-formula.sh): assign @NONE as whole-formula owner

This commit is contained in:
Dafydd Jones 2020-05-11 18:57:40 +01:00
parent 86c3ff7edb
commit cceffffef5
2 changed files with 3 additions and 0 deletions

View file

@ -56,6 +56,7 @@ convert_formula() {
sedi 's/TEMPLATE/'"${NEW_NAME}"'/g' "${filename}"
done
sedi 's/^\(version:\).*/\1 1.0.0/' FORMULA
sedi 's/^\(*[[:space:]]\{1,\}\)@saltstack-formulas\/wg/\1@NONE/' CODEOWNERS
# Deleting lines between two patterns
sedi '/<REMOVEME/,/REMOVEME>/d' .travis.yml .rubocop.yml
# shellcheck disable=SC1004 # This backslash+linefeed is literal (sed: replace text)

View file

@ -72,6 +72,8 @@ To take advantage of `semantic-release <https://github.com/semantic-release/sema
In the Travis repository settings for your new repository, create an `environment variable <https://docs.travis-ci.com/user/environment-variables/#defining-variables-in-repository-settings>`_ named ``GH_TOKEN`` with the personal access token as value, restricted to the ``master`` branch for security.
Note that this repository uses a `CODEOWNERS <https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners>`_ file to assign ownership to various parts of the formula. The conversion process removes overall ownership, but you should consider assigning ownership to yourself or your organisation when contributing your new formula to the ``saltstack-formulas`` organisation.
.. REMOVEME>
Available states