Skip to content

Commit

Permalink
Merge pull request #57 from clouddrove/feature/autoMerge
Browse files Browse the repository at this point in the history
Feat: Add the automerge workflow
  • Loading branch information
d4kverma authored Dec 6, 2023
2 parents 022dbfd + 8985e71 commit 154bc16
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/automerge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,16 @@ jobs:
static-checks:
name: Check the status of static checks
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
strategy:
matrix:
tf-checks: ["tf-lint / tflint", "tfsec / tfsec sarif report", "tf-checks-website-s3-example / Check code format"]
if: github.actor == 'dependabot[bot]'
steps:
- name: Wait for "tflint" to succeed
- name: Wait for "${{ matrix.tf-checks }}" to succeed
uses: lewagon/[email protected]
with:
ref: ${{ github.event.pull_request.head.sha }}
check-name: 'tf-lint / tflint'
check-name: ${{ matrix.tf-checks }}
repo-token: ${{ secrets.GITHUB }}
wait-interval: 30

Expand Down

0 comments on commit 154bc16

Please sign in to comment.