Skip to content

Commit 02502c0

Browse files
feat: update workfflows and readme.yaml (#53)
* feat: update workfflows and readme.yaml * feat: update workfflows and readme.yaml * feat: update workflows and readme.yaml * feat: update workflows and readme.yaml
1 parent 05e8362 commit 02502c0

22 files changed

+396
-914
lines changed

.editorconfig

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# EditorConfig is awesome: http://EditorConfig.org
2+
# Uses editorconfig to maintain consistent coding styles
3+
4+
# top-most EditorConfig file
5+
root = true
6+
7+
# Unix-style newlines with a newline ending every file
8+
[*]
9+
charset = utf-8
10+
end_of_line = lf
11+
indent_size = 2
12+
indent_style = space
13+
insert_final_newline = true
14+
max_line_length = 80
15+
trim_trailing_whitespace = true
16+
17+
[*.{tf,tfvars}]
18+
indent_size = 2
19+
indent_style = space
20+
21+
[*.md]
22+
max_line_length = 0
23+
trim_trailing_whitespace = false
24+
25+
[Makefile]
26+
tab_width = 2
27+
indent_style = tab
28+
29+
[COMMIT_EDITMSG]
30+
max_line_length = 0

.github/CODEOWNERS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# These owners will be the default owners for everything in the repo.
2+
* @anmolnagpal @clouddrove/approvers @clouddrove-ci

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
## what
2+
* Describe high-level what changed as a result of these commits (i.e. in plain-english, what do these changes mean?)
3+
* Use bullet points to be concise and to the point.
4+
5+
## why
6+
* Provide the justifications for the changes (e.g. business case).
7+
* Describe why these changes were made (e.g. why do these commits fix the problem?)
8+
* Use bullet points to be concise and to the point.
9+
10+
## references
11+
* Link to any supporting jira issues or helpful documentation to add some context (e.g. stackoverflow).
12+
* Use `closes #123`, if this PR closes a Jira issue `#123`

.github/dependabot.yml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,20 @@
22
# package ecosystems to update and where the package manifests are located.
33
# Please see the documentation for all configuration options:
44
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
56
version: 2
67
updates:
8+
9+
- package-ecosystem: "github-actions"
10+
directory: "/"
11+
schedule:
12+
interval: "daily"
13+
open-pull-requests-limit: 3
14+
assignees:
15+
- "clouddrove-ci"
16+
reviewers:
17+
- "approvers"
18+
719
- package-ecosystem: "terraform" # See documentation for possible values
820
directory: "/" # Location of package manifests
921
schedule:
@@ -14,8 +26,11 @@ updates:
1426
# Add reviewer
1527
reviewers:
1628
- "approvers"
29+
# Allow up to 3 open pull requests for pip dependencies
30+
open-pull-requests-limit: 3
31+
1732
- package-ecosystem: "terraform" # See documentation for possible values
18-
directory: "_example/" # Location of package manifests
33+
directory: "/_example/" # Location of package manifests
1934
schedule:
2035
interval: "weekly"
2136
# Add assignees
@@ -24,3 +39,6 @@ updates:
2439
# Add reviewer
2540
reviewers:
2641
- "approvers"
42+
# Allow up to 3 open pull requests for pip dependencies
43+
open-pull-requests-limit: 3
44+

.github/workflows/auto_assignee.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Auto Assign PRs
2+
3+
on:
4+
pull_request:
5+
types: [opened, reopened]
6+
7+
workflow_dispatch:
8+
jobs:
9+
assign-pr:
10+
uses: clouddrove/github-shared-workflows/.github/workflows/auto_assignee.yml@master
11+
secrets: inherit
12+
with:
13+
assignees: 'clouddrove-ci'

.github/workflows/changelog.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ on:
66
- "*"
77
workflow_dispatch:
88
jobs:
9-
changelog:
9+
call-workflow-changelog:
1010
uses: clouddrove/github-shared-workflows/.github/workflows/changelog.yml@master
1111
secrets: inherit
1212
with:
13-
branch: 'master'
13+
branch: 'master'

.github/workflows/readme.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
uses: actions/checkout@master
1414

1515
- name: 'Set up Python 3.7'
16-
uses: actions/setup-python@v2
16+
uses: actions/setup-python@v4
1717
with:
1818
python-version: '3.x'
1919

@@ -27,11 +27,11 @@ jobs:
2727

2828

2929
- name: 'pre-commit check errors'
30-
uses: pre-commit/action@v2.0.0
30+
uses: pre-commit/action@v3.0.0
3131
continue-on-error: true
3232

3333
- name: 'pre-commit fix erros'
34-
uses: pre-commit/action@v2.0.0
34+
uses: pre-commit/action@v3.0.0
3535
continue-on-error: true
3636

3737
- name: 'push readme'

.github/workflows/terraform.yml

Lines changed: 0 additions & 84 deletions
This file was deleted.

.github/workflows/terratest.yml

Lines changed: 0 additions & 40 deletions
This file was deleted.

.github/workflows/tf-checks.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: tf-checks
2+
on:
3+
push:
4+
branches: [ master ]
5+
pull_request:
6+
workflow_dispatch:
7+
jobs:
8+
tf-checks-complete-example:
9+
uses: clouddrove/github-shared-workflows/.github/workflows/tf-checks.yml@master
10+
with:
11+
working_directory: './_example/'

0 commit comments

Comments
 (0)