Skip to content

Commit 33919dd

Browse files
author
Om Sharma
authored
Merge pull request #26 from clouddrove/issue-245
bug: updated this code
2 parents 07446a3 + ed474b6 commit 33919dd

File tree

26 files changed

+301
-387
lines changed

26 files changed

+301
-387
lines changed

.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: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,18 @@
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-
65
version: 2
76
updates:
7+
- package-ecosystem: "github-actions"
8+
directory: "/"
9+
schedule:
10+
interval: "daily"
11+
open-pull-requests-limit: 3
12+
assignees:
13+
- "clouddrove-ci"
14+
reviewers:
15+
- "approvers"
16+
817
- package-ecosystem: "terraform" # See documentation for possible values
918
directory: "/" # Location of package manifests
1019
schedule:
@@ -15,8 +24,11 @@ updates:
1524
# Add reviewer
1625
reviewers:
1726
- "approvers"
27+
# Allow up to 3 open pull requests for pip dependencies
28+
open-pull-requests-limit: 3
29+
1830
- package-ecosystem: "terraform" # See documentation for possible values
19-
directory: "_example/generate-certificate-dns" # Location of package manifests
31+
directory: "/_example/generate-certificate-dns" # Location of package manifests
2032
schedule:
2133
interval: "weekly"
2234
# Add assignees
@@ -25,8 +37,11 @@ updates:
2537
# Add reviewer
2638
reviewers:
2739
- "approvers"
40+
# Allow up to 3 open pull requests for pip dependencies
41+
open-pull-requests-limit: 3
42+
2843
- package-ecosystem: "terraform" # See documentation for possible values
29-
directory: "_example/generate-certificate-email" # Location of package manifests
44+
directory: "/_example/generate-certificate-email" # Location of package manifests
3045
schedule:
3146
interval: "weekly"
3247
# Add assignees
@@ -35,8 +50,11 @@ updates:
3550
# Add reviewer
3651
reviewers:
3752
- "approvers"
53+
# Allow up to 3 open pull requests for pip dependencies
54+
open-pull-requests-limit: 3
55+
3856
- package-ecosystem: "terraform" # See documentation for possible values
39-
directory: "_example/import-certificate" # Location of package manifests
57+
directory: "/_example/import-certificate" # Location of package manifests
4058
schedule:
4159
interval: "weekly"
4260
# Add assignees
@@ -45,3 +63,5 @@ updates:
4563
# Add reviewer
4664
reviewers:
4765
- "approvers"
66+
# Allow up to 3 open pull requests for pip dependencies
67+
open-pull-requests-limit: 3

.github/workflows/auto_assignee.yml

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

.github/workflows/readme.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,34 +3,34 @@ on:
33
push:
44
branches:
55
- master
6-
76
jobs:
8-
readme-create:
7+
readme:
98
name: 'readme-create'
109
runs-on: ubuntu-latest
1110
steps:
1211
- name: 'Checkout'
13-
uses: actions/checkout@v2.3.4
12+
uses: actions/checkout@master
1413

15-
- name: Set up Python 3.7.
16-
uses: actions/setup-python@v2
14+
- name: 'Set up Python 3.7'
15+
uses: actions/setup-python@v4
1716
with:
1817
python-version: '3.x'
1918

2019
- name: 'create readme'
2120
uses: 'clouddrove/github-actions@v9.0.2'
2221
with:
2322
actions_subcommand: 'readme'
24-
github_token: '${{ secrets.GITHUB}}'
23+
github_token: '${{ secrets.GITHUB }}'
2524
env:
26-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN}}
25+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26+
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'
@@ -39,7 +39,7 @@ jobs:
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

.github/workflows/terraform.yml

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

.github/workflows/terratest.yml

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

.github/workflows/tf-checks.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: tf-checks
2+
on:
3+
push:
4+
branches: [ master ]
5+
pull_request:
6+
workflow_dispatch:
7+
jobs:
8+
tf-checks-generate-certificate-dns-example:
9+
uses: clouddrove/github-shared-workflows/.github/workflows/tf-checks.yml@master
10+
with:
11+
working_directory: './_example/generate-certificate-dns/'
12+
tf-checks-generate-certificate-email-example:
13+
uses: clouddrove/github-shared-workflows/.github/workflows/tf-checks.yml@master
14+
with:
15+
working_directory: './_example/generate-certificate-email/'
16+
tf-checks-import-certificate-example:
17+
uses: clouddrove/github-shared-workflows/.github/workflows/tf-checks.yml@master
18+
with:
19+
working_directory: './_example/import-certificate/'
20+
21+
22+

.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+
tf-lint:
9+
uses: clouddrove/github-shared-workflows/.github/workflows/tf-lint.yml@master
10+
secrets:
11+
GITHUB: ${{ secrets.GITHUB }}

0 commit comments

Comments
 (0)