mirror of
https://github.com/saltstack-formulas/template-formula.git
synced 2025-04-17 10:10:28 +00:00
Merge pull request #198 from dafyddj/feat/mod-codeowners
feat(convert-formula.sh): assign `@NONE` as whole-formula owner
This commit is contained in:
commit
bbd50b3708
2 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue