-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature: tfcheck dependency update with versionEvaluate (#115)
Co-authored-by: Anmol Nagpal <[email protected]>
- Loading branch information
1 parent
6a1f9c0
commit 077e955
Showing
2 changed files
with
6 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,14 +15,14 @@ on: | |
|
||
jobs: | ||
static-checks: | ||
name: Check the status of static checks | ||
name: Check Static Analysis | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
tf-checks: ["tf-lint / tflint", "tfsec / tfsec sarif report", "${{ inputs.tfcheck }}"] | ||
if: github.actor == 'dependabot[bot]' | ||
steps: | ||
- name: Wait for "${{ matrix.tf-checks }}" to succeed | ||
- name: Wait for "${{ matrix.tf-checks }}" to Succeed | ||
uses: lewagon/[email protected] | ||
with: | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
|
@@ -39,13 +39,13 @@ jobs: | |
runs-on: ubuntu-latest | ||
if: github.actor == 'dependabot[bot]' | ||
steps: | ||
- name: Approve a PR for Github Bot | ||
- name: Approve PR via GitHub Bot | ||
run: gh pr review --approve "$PR_URL" | ||
env: | ||
PR_URL: ${{github.event.pull_request.html_url}} | ||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | ||
|
||
- name: Approve a PR for Anmol nagpal | ||
- name: Approve PR via Anmol Nagpal | ||
run: gh pr review --approve "$PR_URL" | ||
env: | ||
PR_URL: ${{github.event.pull_request.html_url}} | ||
|
@@ -55,8 +55,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
needs: autoapprove | ||
steps: | ||
- id: automerge | ||
name: automerge | ||
- name: Automerge | ||
uses: pascalgn/[email protected] | ||
if: github.event_name == 'pull_request' && github.event.pull_request.draft == false | ||
env: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters