Skip to content

Commit

Permalink
Feat: Add automerge github shared workflow (#34)
Browse files Browse the repository at this point in the history
Co-authored-by: Anmol Nagpal <anmol@clouddrove.com>
  • Loading branch information
vaibhav7797 and anmolnagpal committed Dec 28, 2023
1 parent 803d37c commit 09c7f27
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/auto_assignee.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
workflow_dispatch:
jobs:
assignee:
uses: clouddrove/github-shared-workflows/.github/workflows/auto_assignee.yml@1.0.6
uses: clouddrove/github-shared-workflows/.github/workflows/auto_assignee.yml@1.0.9
secrets:
GITHUB: ${{ secrets.GITHUB }}
with:
Expand Down
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.0.9
secrets:
GITHUB: ${{ secrets.GITHUB }}
with:
tfcheck: '_example / Check code format'
...
2 changes: 1 addition & 1 deletion .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
workflow_dispatch:
jobs:
changelog:
uses: clouddrove/github-shared-workflows/.github/workflows/changelog.yml@1.0.6
uses: clouddrove/github-shared-workflows/.github/workflows/changelog.yml@1.0.9
secrets: inherit
with:
branch: 'master'
2 changes: 1 addition & 1 deletion .github/workflows/tf-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ on:
workflow_dispatch:
jobs:
_example:
uses: clouddrove/github-shared-workflows/.github/workflows/tf-checks.yml@1.0.6
uses: clouddrove/github-shared-workflows/.github/workflows/tf-checks.yml@1.0.9
with:
working_directory: './_example/'
2 changes: 1 addition & 1 deletion .github/workflows/tflint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ on:
workflow_dispatch:
jobs:
tf-lint:
uses: clouddrove/github-shared-workflows/.github/workflows/tf-lint.yml@1.0.6
uses: clouddrove/github-shared-workflows/.github/workflows/tf-lint.yml@1.0.9
secrets:
GITHUB: ${{ secrets.GITHUB }}
2 changes: 1 addition & 1 deletion .github/workflows/tfsec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
workflow_dispatch:
jobs:
tfsec:
uses: clouddrove/github-shared-workflows/.github/workflows/tfsec.yml@1.0.6
uses: clouddrove/github-shared-workflows/.github/workflows/tfsec.yml@1.0.9
secrets: inherit
with:
working_directory: '.'

0 comments on commit 09c7f27

Please sign in to comment.