Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DMVP-0000: Initial PR #83

Open
wants to merge 19 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
134d9a0
Change by terraform in repo workflow config, Add .github/workflows/br…
viktoryathegreat Oct 13, 2023
d30d5a4
Change by terraform in repo workflow config, Add .pre-commit-config.yaml
viktoryathegreat Oct 13, 2023
b5a43d9
Change by terraform in repo workflow config, Add .github/workflows/in…
viktoryathegreat Oct 13, 2023
0a8eb41
Change by terraform in repo workflow config, Add .github/workflows/ch…
viktoryathegreat Oct 13, 2023
e3ccb49
Change by terraform in repo workflow config, Add .github/workflows/tf…
viktoryathegreat Oct 13, 2023
fdaa605
Change by terraform in repo workflow config, Add .github/dependabot.yaml
viktoryathegreat Oct 13, 2023
c0476f3
Change by terraform in repo workflow config, Add .github/workflows/te…
viktoryathegreat Oct 13, 2023
ae354a3
Change by terraform in repo workflow config, Add .github/workflows/tf…
viktoryathegreat Oct 13, 2023
5a90c3c
Change by terraform in repo workflow config, Add githooks/commit-msg
viktoryathegreat Oct 13, 2023
037c941
Change by terraform in repo workflow config, Add git-conventional-com…
viktoryathegreat Oct 13, 2023
aeda74a
Change by terraform in repo workflow config, Add .github/workflows/pr…
viktoryathegreat Oct 13, 2023
3036e8d
Change by terraform in repo workflow config, Add githooks/pre-commit
viktoryathegreat Oct 13, 2023
f01dab0
Change by terraform in repo workflow config, Add .github/workflows/se…
viktoryathegreat Oct 13, 2023
a759762
Change by terraform in repo workflow config, Add package.json
viktoryathegreat Oct 13, 2023
0dc2479
Change by terraform in repo workflow config, Add commitlint.config.js
viktoryathegreat Oct 13, 2023
d8135d7
Change by terraform in repo workflow config, Add .github/workflows/pr…
viktoryathegreat Oct 13, 2023
bb8c42c
Change by terraform in repo workflow config, Add .github/workflows/in…
viktoryathegreat Nov 3, 2023
4bf5cf8
Change by terraform in repo workflow config, Add .github/dependabot.yaml
viktoryathegreat Nov 3, 2023
f368b03
Change by terraform in repo workflow config, Add .github/workflows/se…
viktoryathegreat Nov 3, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 11 additions & 10 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
version: 2

updates:

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
commit-message:
prefix: feat

- package-ecosystem: "terraform"
directory:
- modules/aws-load-balancer-controller
- modules/cloudwatch-metrics
- modules/eks
- modules/external-secrets
- modules/fluent-bit
- modules/metrics-server
- modules/sso-rbac
- modules/vpc
- modules/weave-scope
directory: "/"
schedule:
interval: "daily"
commit-message:
prefix: feat
14 changes: 14 additions & 0 deletions .github/workflows/branch-name-check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: 'Branch Naming Check'
on: pull_request

jobs:
branch-naming-rules:
runs-on: ubuntu-latest
steps:
- uses: deepakputhraya/action-branch-name@master
with:
regex: 'DMVP-[0-9]*' # Regex the branch should match. This example enforces grouping
allowed_prefixes: 'DMVP-' # All branches should start with the given prefix
ignore: master,develop # Ignore exactly matching branch names from convention
min_length: 5 # Min length of the branch name
max_length: 30 # Max length of the branch name
14 changes: 3 additions & 11 deletions .github/workflows/checkov.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,10 @@ jobs:
strategy:
matrix:
path:
- aws-load-balancer-controller
- cloudwatch-metrics
- eks
- external-secrets
- fluent-bit
- metrics-server
- sso-rbac
- vpc
- weave-scope

- /

steps:
- uses: dasmeta/reusable-actions-workflows/checkov@main
- uses: dasmeta/reusable-actions-workflows/checkov@4.2.0
with:
fetch-depth: 0
directory: ${{ matrix.path }}
Expand Down
16 changes: 16 additions & 0 deletions .github/workflows/pr-title-checker.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: 'PR Title Checker'
on:
pull_request:
types: [edited, opened, synchronize, reopened]

jobs:
title-check:
runs-on: ubuntu-latest
steps:
- uses: deepakputhraya/[email protected]
with:
regex: 'DMVP-[0-9]*:' # Regex the title should match.
allowed_prefixes: 'DMVP-' # title should start with the given prefix
prefix_case_sensitive: false # title prefix are case insensitive
min_length: 5 # Min length of the title
max_length: -1 # Max length of the title
2 changes: 1 addition & 1 deletion .github/workflows/pre-commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
id-token: write
steps:
- name: Pre-Commit
uses: dasmeta/reusable-actions-workflows/pre-commit@main
uses: dasmeta/reusable-actions-workflows/pre-commit@4.2.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/semantic-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ jobs:
pull-requests: write
id-token: write
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: 16
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v3
uses: cycjimmy/semantic-release-action@v4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
14 changes: 3 additions & 11 deletions .github/workflows/terraform-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,10 @@ jobs:
strategy:
matrix:
path:
- aws-load-balancer-controller
- cloudwatch-metrics
- eks
- external-secrets
- fluent-bit
- metrics-server
- sso-rbac
- vpc
- weave-scope

- /

steps:
- uses: dasmeta/reusable-actions-workflows/terraform-test@main
- uses: dasmeta/reusable-actions-workflows/terraform-test@4.2.0
with:
aws-region: ${{ secrets.AWS_REGION}}
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
Expand Down
14 changes: 3 additions & 11 deletions .github/workflows/tflint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,10 @@ jobs:
strategy:
matrix:
path:
- aws-load-balancer-controller
- cloudwatch-metrics
- eks
- external-secrets
- fluent-bit
- metrics-server
- sso-rbac
- vpc
- weave-scope

- /

steps:
- uses: dasmeta/reusable-actions-workflows/tflint@main
- uses: dasmeta/reusable-actions-workflows/tflint@4.2.0
with:
aws-region: ${{ secrets.AWS_REGION}}
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tfsec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
id-token: write
security-events: write
steps:
- uses: dasmeta/reusable-actions-workflows/tfsec@main
- uses: dasmeta/reusable-actions-workflows/tfsec@4.2.0
with:
fetch-depth: 0
continue-on-error: true
2 changes: 1 addition & 1 deletion githooks/commit-msg
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ elif [ -x "$INSTALL_PYTHON" ]; then
exec "$INSTALL_PYTHON" -mpre_commit "${ARGS[@]}"
else
echo '`pre-commit` not found. Did you forget to activate your virtualenv?' 1>&2
exit 1a
exit 1
fi
Loading