Skip to content

Commit 077e955

Browse files
Feature: tfcheck dependency update with versionEvaluate (#115)
Co-authored-by: Anmol Nagpal <[email protected]>
1 parent 6a1f9c0 commit 077e955

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

.github/workflows/auto_merge.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ on:
1515

1616
jobs:
1717
static-checks:
18-
name: Check the status of static checks
18+
name: Check Static Analysis
1919
runs-on: ubuntu-latest
2020
strategy:
2121
matrix:
2222
tf-checks: ["tf-lint / tflint", "tfsec / tfsec sarif report", "${{ inputs.tfcheck }}"]
2323
if: github.actor == 'dependabot[bot]'
2424
steps:
25-
- name: Wait for "${{ matrix.tf-checks }}" to succeed
25+
- name: Wait for "${{ matrix.tf-checks }}" to Succeed
2626
uses: lewagon/[email protected]
2727
with:
2828
ref: ${{ github.event.pull_request.head.sha }}
@@ -39,13 +39,13 @@ jobs:
3939
runs-on: ubuntu-latest
4040
if: github.actor == 'dependabot[bot]'
4141
steps:
42-
- name: Approve a PR for Github Bot
42+
- name: Approve PR via GitHub Bot
4343
run: gh pr review --approve "$PR_URL"
4444
env:
4545
PR_URL: ${{github.event.pull_request.html_url}}
4646
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
4747

48-
- name: Approve a PR for Anmol nagpal
48+
- name: Approve PR via Anmol Nagpal
4949
run: gh pr review --approve "$PR_URL"
5050
env:
5151
PR_URL: ${{github.event.pull_request.html_url}}
@@ -55,8 +55,7 @@ jobs:
5555
runs-on: ubuntu-latest
5656
needs: autoapprove
5757
steps:
58-
- id: automerge
59-
name: automerge
58+
- name: Automerge
6059
uses: pascalgn/[email protected]
6160
if: github.event_name == 'pull_request' && github.event.pull_request.draft == false
6261
env:

.github/workflows/tf-checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ jobs:
106106
format:
107107
name: Check code format
108108
runs-on: ubuntu-latest
109-
needs: versionExtract
109+
needs: [versionExtract, versionEvaluate]
110110

111111
steps:
112112
# - Checkout the repository to the GitHub Actions runner

0 commit comments

Comments
 (0)