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 stuff
.vagrant/ .vagrant/
.vagrant.d/ .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 # 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. # Lines that start with '# ' are comments.
# OS generated files # # OS generated files #
###################### ######################
.DS_Store .DS_Store
ehthumbs.db
Icon? Icon?
nohup.out nohup.out
ehthumbs.db
Thumbs.db Thumbs.db
# SASS # # SASS #
@ -16,61 +16,64 @@ Thumbs.db
# EDITORS # # EDITORS #
########### ###########
\#*
.#* .#*
*~ .project
*.sw[a-z] .settings
*_flymake
*_flymake.*
*.bak *.bak
*.sw[a-z]
*.tmproj
*~
\#*
mkmf.log
REVISION REVISION
TAGS* TAGS*
tmtags tmtags
*_flymake.*
*_flymake
*.tmproj
.project
.settings
mkmf.log
## COMPILED ## ## COMPILED ##
############## ##############
a.out *.class
*.com
*.dll
*.exe
*.o *.o
*.pyc *.pyc
*.so *.so
*.com
*.class
*.dll
*.exe
*/rdoc/ */rdoc/
a.out
# Testing # # Testing #
########### ###########
.rspec .circleci/*
spec/* .codeclimate.yml
spec/fixtures/*
test/*
features/*
examples/*
Procfile
.kitchen*
kitchen*
.rubocop.yml
spec/*
.travis.yml
.foodcritic .foodcritic
appveyor.yml .kitchen*
.rspec
.rubocop.yml
.travis.yml
.watchr
azure-pipelines.yml
examples/*
features/*
Guardfile
kitchen.yml*
Procfile
Rakefile Rakefile
spec/*
test/*
# SCM # # SCM #
####### #######
.git .git
*/.git .gitattributes
.gitconfig
.github/*
.gitignore .gitignore
.gitmodules .gitmodules
.gitconfig
.gitattributes
.svn .svn
*/.bzr/* */.bzr/*
*/.git
*/.hg/* */.hg/*
*/.svn/* */.svn/*
@ -81,6 +84,12 @@ Berksfile.lock
cookbooks/* cookbooks/*
tmp tmp
# Bundler #
###########
vendor/*
Gemfile
Gemfile.lock
# Policyfile # # Policyfile #
############## ##############
Policyfile.rb Policyfile.rb
@ -88,6 +97,12 @@ Policyfile.lock.json
# Cookbooks # # Cookbooks #
############# #############
CONTRIBUTING*
CHANGELOG* CHANGELOG*
CONTRIBUTING*
TESTING* TESTING*
CODE_OF_CONDUCT*
# Vagrant #
###########
.vagrant
Vagrantfile