Skip to content

Commit fc27c09

Browse files
authored
Initial commit
0 parents  commit fc27c09

16 files changed

Lines changed: 450 additions & 0 deletions

.bumpversion.cfg

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[bumpversion]
2+
current_version = 1.2.1
3+
commit = True
4+
message = Bumps version to {new_version}
5+
tag = False
6+
tag_name = {new_version}

.editorconfig

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# see http://editorconfig.org
2+
root = true
3+
4+
[*]
5+
end_of_line = lf
6+
trim_trailing_whitespace = true
7+
insert_final_newline = true
8+
indent_style = space
9+
indent_size = 2
10+
charset = utf-8
11+
tab_width = 4
12+
13+
[*.md]
14+
trim_trailing_whitespace = false
15+
16+
[*.py]
17+
indent_size = 4
18+
19+
[go.mod]
20+
indent_style = tab
21+
indent_size = 1
22+
23+
[*.go]
24+
indent_style = tab
25+
indent_size = 1
26+
27+
[Makefile]
28+
indent_style = tab
29+
indent_size = 1
30+
31+
[Makefile.*]
32+
indent_style = tab
33+
indent_size = 1
34+
35+
[LICENSE]
36+
indent_size = none

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Auto detect text files and perform LF normalization
2+
* text eol=lf

.github/dependabot.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
version: 2
2+
updates:
3+
# Maintain dependencies for GitHub Actions
4+
- package-ecosystem: github-actions
5+
directory: /
6+
schedule:
7+
interval: weekly
8+
groups:
9+
github-actions:
10+
patterns:
11+
- "*"
12+
# Maintain dependencies for dockerfiles
13+
- package-ecosystem: docker
14+
directory: /
15+
schedule:
16+
interval: weekly
17+
groups:
18+
docker:
19+
patterns:
20+
- "*"

.github/workflows/lint.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: Run lint and static analyis checks
2+
on:
3+
pull_request:
4+
5+
concurrency:
6+
group: lint-${{ github.head_ref || github.ref }}
7+
cancel-in-progress: true
8+
9+
jobs:
10+
lint:
11+
uses: plus3it/actions-workflows/.github/workflows/lint.yml@269d875599c92395f7fa99cab43edc1820798e61

.github/workflows/release.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Create GitHub Release
2+
3+
on:
4+
# Run on demand
5+
workflow_dispatch:
6+
7+
# Run on push to main when .bumpversion.cfg version is updated
8+
push:
9+
branches:
10+
- main
11+
- master
12+
paths:
13+
- .bumpversion.cfg
14+
15+
jobs:
16+
release:
17+
uses: plus3it/actions-workflows/.github/workflows/release.yml@269d875599c92395f7fa99cab43edc1820798e61
18+
secrets:
19+
release-token: ${{ secrets.GH_RELEASES_TOKEN }}

.github/workflows/test.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: Run test jobs
2+
on:
3+
pull_request:
4+
5+
concurrency:
6+
group: test-${{ github.head_ref || github.ref }}
7+
cancel-in-progress: true
8+
9+
jobs:
10+
test:
11+
uses: plus3it/actions-workflows/.github/workflows/test.yml@269d875599c92395f7fa99cab43edc1820798e61

.gitignore

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Local .terraform directories
2+
.terraform/
3+
.terraform.lock.hcl
4+
5+
# .tfstate files
6+
*.tfstate
7+
*.tfstate.*
8+
9+
# .tfvars files
10+
*.tfvars
11+
12+
# tardigrade-ci
13+
.tardigrade-ci
14+
tardigrade-ci/
15+
16+
# python cache
17+
__pycache__
18+
.python-version
19+
.pytest_cache
20+
21+
#macOS local dir meta file
22+
.DS_Store

.mergify.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
pull_request_rules:
2+
- name: approve dependabot pull requests
3+
conditions:
4+
- author=dependabot[bot]
5+
actions:
6+
review:
7+
type: APPROVE
8+
9+
- name: merge dependabot pull requests
10+
conditions:
11+
- author=dependabot[bot]
12+
- "#approved-reviews-by>=1"
13+
actions:
14+
merge:
15+
method: merge

CHANGELOG.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
## repo-template
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).
6+
7+
### [1.2.1] (https://github.com/plus3it/repo-template/releases/tag/1.2.1)
8+
9+
**Summary**:
10+
11+
* Updated README.md to include config settings for github
12+
* Updated LICENSE copyright year
13+
14+
### [1.2.0] (https://github.com/plus3it/repo-template/releases/tag/1.2.0)
15+
16+
**Summary**:
17+
18+
* Updated SHA value for Github Actions Workflows
19+
* Updated CHANGELOG.template.md file
20+
* Added Master branch in release workflow logic to make migration to Github Actions more efficient
21+
22+
### 1.1.0
23+
24+
**Commit Delta**: N/A
25+
26+
**Released**: 2023.01.27
27+
28+
**Summary**:
29+
30+
* Updated workflow files to be consumable and reusable, and now points to actions-workflows repo
31+
32+
### 1.0.0
33+
34+
**Commit Delta**: N/A
35+
36+
**Released**: 2023.01.10
37+
38+
**Summary**:
39+
40+
* Initial release of capability

0 commit comments

Comments
 (0)