Only use feature requests in main repo

This commit is contained in:
Vítor Galvão
2018-05-07 00:08:15 +01:00
parent bede2414f2
commit e08b943446
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ If your issue persists, search for it before opening a new one. If you find an o
## Requests
* Cask requests will be automatically closed. If you want a cask added, [submit a pull request](https://github.com/caskroom/homebrew-cask/blob/master/CONTRIBUTING.md#adding-a-cask).
* For a feature request, [use this template](/issues/new?template=feature_request.md).
* For a feature request, [use this template](https://github.com/caskroom/homebrew-cask/issues/new?template=02_feature_request.md).
## Questions? Wanna chat?
+2 -1
View File
@@ -32,8 +32,9 @@ function copy_templates_and_ci {
repo_name="${1}"
rsync --archive --delete "${main_repo_dir}"/{.editorconfig,.gitattributes,.github,.gitignore,.travis.yml,ci,CODE_OF_CONDUCT.md} '.'
rm '.github/ISSUE_TEMPLATE/02_feature_request.md' # Feature requests only make sense in the main repo
/usr/bin/sed -i '' -E "s:homebrew-cask/(pulls|issues):${repo_name}/\1:" '.github/PULL_REQUEST_TEMPLATE.md' # PULL_REQUEST_TEMPLATE has repo-specific links
# increase script.sh install cap for fonts repo
if [[ "${repo_name}" == 'homebrew-fonts' ]]; then
/usr/bin/sed -i '' -e 's:-le 3:-le 15:' -e 's:than 3 Casks:than 15 Casks:' 'ci/travis/script.sh'