Skip to content

Commit

Permalink
Merge pull request #8 from terraform-do-modules/feat/auto-merge
Browse files Browse the repository at this point in the history
feat: added automerge and updated the workflows
  • Loading branch information
d4kverma authored Feb 1, 2024
2 parents 621e357 + 6c6721f commit 9c77480
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/auto_assignee.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ on:
types: [opened, reopened]
workflow_dispatch:
jobs:
assign-pr:
assignee:
uses: clouddrove/github-shared-workflows/.github/workflows/auto_assignee.yml@1.2.1
secrets:
GITHUB: ${{ secrets.GITHUB }}
with:
assignees: 'clouddrove-ci'
assignees: 'clouddrove-ci'
12 changes: 12 additions & 0 deletions .github/workflows/automerge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
name: Auto merge
on:
pull_request:
jobs:
auto-merge:
uses: clouddrove/github-shared-workflows/.github/workflows/auto_merge.yml@1.2.1
secrets:
GITHUB: ${{ secrets.GITHUB }}
with:
tfcheck: 'tf-checks-basic-example / Check code format'
...
7 changes: 4 additions & 3 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
name: changelog
permissions: write-all
on:
Expand All @@ -6,9 +7,9 @@ on:
- "*"
workflow_dispatch:
jobs:
call-workflow-changelog:
changelog:
uses: clouddrove/github-shared-workflows/.github/workflows/changelog.yml@1.2.1
secrets:
GITHUB: ${{ secrets.GITHUB }}
secrets: inherit
with:
branch: 'master'
...
2 changes: 1 addition & 1 deletion .github/workflows/readme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
- master

jobs:
readme-create:
readme:
name: 'readme-create'
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tfsec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ jobs:
secrets:
GITHUB: ${{ secrets.GITHUB }}
with:
working_directory: '.'
working_directory: '.'
4 changes: 2 additions & 2 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ variable "replica_enable" {
description = "Flag to control the resources creation."
}
variable "storage_size_mib" {
type = string
type = string
description = "Defines the disk size, in MiB, allocated to the cluster"
default = null
default = null
}

0 comments on commit 9c77480

Please sign in to comment.