Skip to content

Commit

Permalink
Standardise files with files in chef-cookbooks/repo-management
Browse files Browse the repository at this point in the history
Signed-off-by: Xorima Bot <[email protected]>
  • Loading branch information
xorimabot committed Apr 15, 2020
1 parent 639b50b commit 26eb49a
Show file tree
Hide file tree
Showing 5 changed files with 69 additions and 41 deletions.
11 changes: 11 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -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 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto eol=lf
17 changes: 17 additions & 0 deletions .github/workflows/branchcleanup.yml
Original file line number Diff line number Diff line change
@@ -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
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,7 @@ vendor/
.coverage/
.zero-knife.rb
Policyfile.lock.json
Cheffile.lock
.librarian/

# vagrant stuff
.vagrant/
.vagrant.d/
.kitchen/
78 changes: 40 additions & 38 deletions chefignore
Original file line number Diff line number Diff line change
@@ -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 #
Expand All @@ -16,62 +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
*.o
*.pyc
*.so
*.com
*.class
*.com
*.dll
*.exe
*.o
*.pyc
*.so
*/rdoc/
a.out

# Testing #
###########
.watchr
.circleci/*
.codeclimate.yml
.foodcritic
.kitchen*
.rspec
spec/*
spec/fixtures/*
test/*
features/*
.rubocop.yml
.travis.yml
.watchr
azure-pipelines.yml
examples/*
features/*
Guardfile
kitchen.yml*
Procfile
kitchen*
.rubocop.yml
spec/*
Rakefile
.travis.yml
.foodcritic
.codeclimate.yml
spec/*
test/*

# SCM #
#######
.git
*/.git
.gitattributes
.gitconfig
.github/*
.gitignore
.gitmodules
.gitconfig
.gitattributes
.svn
*/.bzr/*
*/.git
*/.hg/*
*/.svn/*

Expand All @@ -82,23 +84,23 @@ Berksfile.lock
cookbooks/*
tmp

# Bundler #
###########
vendor/*
Gemfile
Gemfile.lock

# Policyfile #
##############
Policyfile.rb
Policyfile.lock.json

# Cookbooks #
#############
CONTRIBUTING*
CHANGELOG*
CONTRIBUTING*
TESTING*

# Strainer #
############
Colanderfile
Strainerfile
.colander
.strainer
CODE_OF_CONDUCT*

# Vagrant #
###########
Expand Down

0 comments on commit 26eb49a

Please sign in to comment.