configure ssl certificate monitor #18
Workflow file for this run
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: pull request | |
on: | |
pull_request: | |
jobs: | |
# TODO: #22 add job using https://github.com/reviewdog/action-alex | |
pre-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
- name: Install prerequisites | |
run: ./bin/install-ubuntu.sh | |
- name: initialize Terraform | |
run: terraform init --backend=false | |
- name: pre-commit | |
uses: pre-commit/[email protected] | |
env: | |
AWS_DEFAULT_REGION: us-east-1 | |
# many of these are covered by better reviewdog linters below | |
SKIP: >- | |
terraform_tflint_deep, | |
no-commit-to-branch, | |
terraform_tflint_nocreds, | |
terraform_tfsec | |
tflint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install prerequisites | |
run: ./bin/install-ubuntu.sh | |
- name: Terraform init | |
run: terraform init --backend=false | |
- name: tflint | |
uses: reviewdog/action-tflint@master | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
reporter: github-pr-check | |
filter_mode: added | |
flags: --module | |
level: error | |
tfsec: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install prerequisites | |
run: ./bin/install-ubuntu.sh | |
- name: Terraform init | |
run: terraform init --backend=false | |
- name: tfsec | |
uses: reviewdog/action-tfsec@master | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
reporter: github-pr-check | |
filter_mode: added | |
level: warning | |
misspell: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: misspell | |
uses: reviewdog/action-misspell@v1 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
locale: "US" | |
reporter: github-pr-check | |
filter_mode: added | |
level: error | |
yamllint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: yamllint | |
uses: reviewdog/action-yamllint@v1 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
reporter: github-pr-check | |
filter_mode: added | |
level: error |