Standardise files with files in chef-cookbooks/repo-management

Signed-off-by: Xorima Bot <xorimabot@avon-lea.co.uk>
This commit is contained in:
Xorima Bot 2020-04-15 07:47:25 +00:00
parent a043528218
commit 465f4a97a5
6 changed files with 79 additions and 35 deletions

11
.editorconfig Executable file
View File

@ -0,0 +1,11 @@
#https://EditorConfig.org
# top-most EditorConfig file
root=true
[*]
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 2
charset = utf-8
trim_trailing_whitespace = true

1
.gitattributes vendored Normal file
View File

@ -0,0 +1 @@
* text=auto eol=lf

17
.github/workflows/branchcleanup.yml vendored Normal file
View File

@ -0,0 +1,17 @@
---
name: Branch Cleanup
# This workflow is triggered on all closed pull requests.
# However the script does not do anything it a merge was not performed.
on:
pull_request:
types: [closed]
env:
NO_BRANCH_DELETED_EXIT_CODE: 0
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: jessfraz/branch-cleanup-action@master

1
.gitignore vendored
View File

@ -46,4 +46,3 @@ Policyfile.lock.json
# vagrant stuff
.vagrant/
.vagrant.d/
.kitchen/

View File

@ -1 +1,2 @@
Please refer to <https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/TESTING.MD>
Please refer to
https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/TESTING.MD

View File

@ -1,13 +1,13 @@
# Put files/directories that should be ignored in this file when uploading
# to a chef-server or supermarket.
# to a Chef Infra Server or Supermarket.
# Lines that start with '# ' are comments.
# OS generated files #
######################
.DS_Store
ehthumbs.db
Icon?
nohup.out
ehthumbs.db
Thumbs.db
# SASS #
@ -16,61 +16,64 @@ Thumbs.db
# EDITORS #
###########
\#*
.#*
*~
*.sw[a-z]
.project
.settings
*_flymake
*_flymake.*
*.bak
*.sw[a-z]
*.tmproj
*~
\#*
mkmf.log
REVISION
TAGS*
tmtags
*_flymake.*
*_flymake
*.tmproj
.project
.settings
mkmf.log
## COMPILED ##
##############
a.out
*.class
*.com
*.dll
*.exe
*.o
*.pyc
*.so
*.com
*.class
*.dll
*.exe
*/rdoc/
a.out
# Testing #
###########
.rspec
spec/*
spec/fixtures/*
test/*
features/*
examples/*
Procfile
.kitchen*
kitchen*
.rubocop.yml
spec/*
.travis.yml
.circleci/*
.codeclimate.yml
.foodcritic
appveyor.yml
.kitchen*
.rspec
.rubocop.yml
.travis.yml
.watchr
azure-pipelines.yml
examples/*
features/*
Guardfile
kitchen.yml*
Procfile
Rakefile
spec/*
test/*
# SCM #
#######
.git
*/.git
.gitattributes
.gitconfig
.github/*
.gitignore
.gitmodules
.gitconfig
.gitattributes
.svn
*/.bzr/*
*/.git
*/.hg/*
*/.svn/*
@ -81,6 +84,12 @@ Berksfile.lock
cookbooks/*
tmp
# Bundler #
###########
vendor/*
Gemfile
Gemfile.lock
# Policyfile #
##############
Policyfile.rb
@ -88,6 +97,12 @@ Policyfile.lock.json
# Cookbooks #
#############
CONTRIBUTING*
CHANGELOG*
CONTRIBUTING*
TESTING*
CODE_OF_CONDUCT*
# Vagrant #
###########
.vagrant
Vagrantfile