update azurerm & azuread version, added support for automated patching for windows vms, no changes seems to break the release as we have used it for several windows + linux vms with no issues this far. #181
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
name: test | |
on: | |
push: | |
paths-ignore: | |
- '**.md' | |
- '**.y*ml' | |
pull_request: | |
branches: | |
- main | |
paths-ignore: | |
- '**.md' | |
- '**.y*ml' | |
jobs: | |
tflint: | |
runs-on: ubuntu-latest | |
container: wata727/tflint | |
steps: | |
- uses: actions/checkout@v2 | |
- run: tflint | |
terraform: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: hashicorp/setup-terraform@v1 | |
- run: terraform fmt -check -recursive | |
tfsec: | |
name: Run tfsec sarif report | |
runs-on: ubuntu-latest | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
steps: | |
- name: Clone repo | |
uses: actions/checkout@v3 | |
- name: Run tfsec | |
uses: aquasecurity/tfsec-sarif-action@9a83b5c3524f825c020e356335855741fd02745f | |
with: | |
sarif_file: tfsec.sarif | |
- name: Upload SARIF file | |
uses: github/codeql-action/upload-sarif@v2 | |
with: | |
sarif_file: tfsec.sarif |