fix(): placement-groups for agents #373
This file contains hidden or 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
name: Lint | |
on: | |
pull_request: | |
jobs: | |
tfsec: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
pull-requests: write | |
name: Scan terraform files with tfsec | |
steps: | |
- name: Clone repo | |
uses: actions/checkout@v4 | |
- name: tfsec | |
uses: aquasecurity/[email protected] | |
with: | |
github_token: ${{ github.token }} | |
tfsec_args: --ignore-hcl-errors | |
- name: Run tfsec with reviewdog output on the PR | |
uses: reviewdog/[email protected] | |
with: | |
github_token: ${{ secrets.github_token }} | |
filter_mode: nofilter | |
fail_on_error: true | |
tfsec_flags: --ignore-hcl-errors | |
validate: | |
runs-on: ubuntu-latest | |
name: Validate terraform configuration | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: terraform validate | |
uses: dflook/[email protected] | |
fmt-check: | |
runs-on: ubuntu-latest | |
name: Check formatting of terraform files | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: terraform fmt | |
uses: dflook/[email protected] |