Skip to content

Commit bd6f93b

Browse files
committed
feat: Update module to be dynamic and configured examples
1 parent 25d893b commit bd6f93b

File tree

27 files changed

+757
-851
lines changed

27 files changed

+757
-851
lines changed

.github/dependabot.yml

Lines changed: 38 additions & 5 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/new_security_group" # Location of package manifests
31+
directory: "/_example/basic" # 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/new_security_group_with_egress" # Location of package manifests
44+
directory: "/_example/complete" # Location of package manifests
3045
schedule:
3146
interval: "weekly"
3247
# Add assignees
@@ -35,13 +50,31 @@ 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/updated_existing" # Location of package manifests
57+
directory: "/_example/only_rules" # Location of package manifests
4058
schedule:
4159
interval: "weekly"
4260
# Add assignees
4361
assignees:
4462
- "clouddrove-ci"
4563
# Add reviewer
4664
reviewers:
47-
- "approvers"
65+
- "approvers"
66+
# Allow up to 3 open pull requests for pip dependencies
67+
open-pull-requests-limit: 3
68+
69+
- package-ecosystem: "terraform" # See documentation for possible values
70+
directory: "/_example/prefix_list" # Location of package manifests
71+
schedule:
72+
interval: "weekly"
73+
# Add assignees
74+
assignees:
75+
- "clouddrove-ci"
76+
# Add reviewer
77+
reviewers:
78+
- "approvers"
79+
# Allow up to 3 open pull requests for pip dependencies
80+
open-pull-requests-limit: 3

.github/workflows/auto_assignee.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66

77
workflow_dispatch:
88
jobs:
9-
assign-pr:
9+
assignee:
1010
uses: clouddrove/github-shared-workflows/.github/workflows/auto_assignee.yml@master
1111
secrets:
1212
GITHUB: ${{ secrets.GITHUB }}

.github/workflows/tf-checks.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,19 @@ on:
55
pull_request:
66
workflow_dispatch:
77
jobs:
8-
tf-checks-new-security-group-example:
8+
tf-checks-basic-example:
99
uses: clouddrove/github-shared-workflows/.github/workflows/tf-checks.yml@master
1010
with:
11-
working_directory: './_example/new_security_group/'
12-
tf-checks-new-security-group-with-egres-example:
11+
working_directory: './_example/basic/'
12+
tf-checks-complete-example:
1313
uses: clouddrove/github-shared-workflows/.github/workflows/tf-checks.yml@master
1414
with:
15-
working_directory: './_example/new_security_group_with_egress/'
16-
tf-checks-updated-existing-example:
15+
working_directory: './_example/complete/'
16+
tf-checks-only_rules-example:
1717
uses: clouddrove/github-shared-workflows/.github/workflows/tf-checks.yml@master
1818
with:
19-
working_directory: './_example/updated_existing/'
19+
working_directory: './_example/only_rules/'
20+
tf-checks-prefx_list-example:
21+
uses: clouddrove/github-shared-workflows/.github/workflows/tf-checks.yml@master
22+
with:
23+
working_directory: './_example/prefix_list/'

0 commit comments

Comments
 (0)