Skip to content

Commit f62f4f2

Browse files
Update tf version and sg module (#15)
* feat: update tf version and sg module * feat: update tf version and github-action * feat: fixed dependabot issue * feat: update gitinnore and schema
1 parent 4e34a4e commit f62f4f2

21 files changed

Lines changed: 438 additions & 899 deletions

.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: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,39 @@
55

66
version: 2
77
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+
819
- package-ecosystem: "terraform" # See documentation for possible values
920
directory: "/" # Location of package manifests
1021
schedule:
1122
interval: "weekly"
23+
# Add assignees
24+
assignees:
25+
- "clouddrove-ci"
26+
# Add reviewer
27+
reviewers:
28+
- "approvers"
29+
# Allow up to 3 open pull requests for pip dependencies
30+
open-pull-requests-limit: 3
31+
1232
- package-ecosystem: "terraform" # See documentation for possible values
1333
directory: "_example/" # Location of package manifests
1434
schedule:
15-
interval: "weekly"
35+
interval: "weekly"
36+
# Add assignees
37+
assignees:
38+
- "clouddrove-ci"
39+
# Add reviewer
40+
reviewers:
41+
- "approvers"
42+
# Allow up to 3 open pull requests for pip dependencies
43+
open-pull-requests-limit: 3
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Auto Assign PRs
2+
3+
on:
4+
pull_request:
5+
types: [opened, reopened]
6+
7+
workflow_dispatch:
8+
jobs:
9+
assignee:
10+
uses: clouddrove/github-shared-workflows/.github/workflows/auto_assignee.yml@1.0.6
11+
secrets:
12+
GITHUB: ${{ secrets.GITHUB }}
13+
with:
14+
assignees: 'clouddrove-ci'

.github/workflows/changelog.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
workflow_dispatch:
88
jobs:
99
changelog:
10-
uses: clouddrove/github-shared-workflows/.github/workflows/changelog.yml@master
10+
uses: clouddrove/github-shared-workflows/.github/workflows/changelog.yml@1.0.6
1111
secrets: inherit
1212
with:
1313
branch: 'master'

.github/workflows/readme.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,36 +10,36 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: 'Checkout'
13-
uses: actions/checkout@v2.3.4
13+
uses: actions/checkout@master
1414

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

2020
- name: 'create readme'
21-
uses: 'clouddrove/github-actions@v9.0.2'
21+
uses: 'clouddrove/github-actions@9.0.3'
2222
with:
2323
actions_subcommand: 'readme'
24-
github_token: '${{ secrets.GITHUB}}'
24+
github_token: '${{ secrets.GITHUB }}'
2525
env:
26-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN}}
26+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2727

28-
- name: pre-commit check errors
29-
uses: pre-commit/action@v2.0.0
28+
- name: 'pre-commit check errors'
29+
uses: pre-commit/action@v3.0.0
3030
continue-on-error: true
3131

32-
- name: pre-commit fix erros
33-
uses: pre-commit/action@v2.0.0
32+
- name: 'pre-commit fix erros'
33+
uses: pre-commit/action@v3.0.0
3434
continue-on-error: true
3535

3636
- name: 'push readme'
37-
uses: 'clouddrove/github-actions@v9.0.2'
37+
uses: 'clouddrove/github-actions@9.0.3'
3838
continue-on-error: true
3939
with:
4040
actions_subcommand: 'push'
4141
env:
42-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN}}
42+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4343

4444
- name: 'Slack Notification'
4545
uses: clouddrove/action-slack@v2
@@ -50,4 +50,4 @@ jobs:
5050
env:
5151
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # required
5252
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_TERRAFORM }} # required
53-
if: always()
53+
if: always()

.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-example:
9+
uses: clouddrove/github-shared-workflows/.github/workflows/tf-checks.yml@1.0.6
10+
with:
11+
working_directory: './_example/'

.github/workflows/tflint.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: tf-lint
2+
on:
3+
push:
4+
branches: [ master ]
5+
pull_request:
6+
workflow_dispatch:
7+
jobs:
8+
tflint:
9+
uses: clouddrove/test-tfsec/.github/workflows/tflint.yaml@1.0.6
10+
secrets:
11+
GITHUB: ${{ secrets.GITHUB }}

0 commit comments

Comments
 (0)