Skip to content

Commit 327bbb3

Browse files
feat: update github-action version and added automerge file (#8)
* feat: update github-action version and added automerge file * feat: update github-action version and added automerge file * feat: update github-action version and added automerge file * feat: update github-action version and added automerge file * feat: update github-action version and added automerge file --------- Co-authored-by: anmolnagpal <[email protected]>
1 parent d6f8370 commit 327bbb3

23 files changed

+343
-260
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/workflows/auto_assignee.yml

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/[email protected]
11+
secrets:
12+
GITHUB: ${{ secrets.GITHUB }}
13+
with:
14+
assignees: 'clouddrove-ci'

.github/workflows/automerge.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
name: Auto merge
3+
on:
4+
pull_request:
5+
jobs:
6+
auto-merge:
7+
uses: clouddrove/github-shared-workflows/.github/workflows/[email protected]
8+
secrets:
9+
GITHUB: ${{ secrets.GITHUB }}
10+
with:
11+
tfcheck: 'basic / Check code format'
12+
...

.github/workflows/changelog.yml

Lines changed: 2 additions & 2 deletions
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.9
1111
secrets: inherit
1212
with:
13-
branch: 'master'
13+
branch: 'master'

.github/workflows/readme.yaml renamed to .github/workflows/readme.yml

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on:
44
branches:
55
- master
66

7-
87
jobs:
98
readme-create:
109
name: 'readme-create'
@@ -14,34 +13,33 @@ jobs:
1413
uses: actions/checkout@master
1514

1615
- name: 'Set up Python 3.7'
17-
uses: actions/setup-python@v2
16+
uses: actions/setup-python@v5
1817
with:
1918
python-version: '3.x'
2019

2120
- name: 'create readme'
22-
uses: 'clouddrove/github-actions@v9.0.2'
21+
uses: 'clouddrove/github-actions@9.0.3'
2322
with:
2423
actions_subcommand: 'readme'
25-
github_token: '${{ secrets.GITHUB}}'
24+
github_token: '${{ secrets.GITHUB }}'
2625
env:
27-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN}}
28-
26+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2927

3028
- name: 'pre-commit check errors'
31-
uses: pre-commit/action@v2.0.0
29+
uses: pre-commit/action@v3.0.0
3230
continue-on-error: true
3331

3432
- name: 'pre-commit fix erros'
35-
uses: pre-commit/action@v2.0.0
33+
uses: pre-commit/action@v3.0.0
3634
continue-on-error: true
3735

3836
- name: 'push readme'
39-
uses: 'clouddrove/github-actions@v9.0.2'
37+
uses: 'clouddrove/github-actions@9.0.3'
4038
continue-on-error: true
4139
with:
4240
actions_subcommand: 'push'
4341
env:
44-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN}}
42+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4543

4644
- name: 'Slack Notification'
4745
uses: clouddrove/action-slack@v2
@@ -52,4 +50,4 @@ jobs:
5250
env:
5351
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # required
5452
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_TERRAFORM }} # required
55-
if: always()
53+
if: always()

.github/workflows/terraform.yaml

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

.github/workflows/terratest.yaml

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

.github/workflows/tf-checks.yml

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

.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/[email protected]
10+
secrets:
11+
GITHUB: ${{ secrets.GITHUB }}

0 commit comments

Comments
 (0)