fix: Remove invite account to org from min policy as well #13
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: Pre-Commit | |
on: | |
pull_request: | |
branches: | |
- main | |
env: | |
TERRAFORM_DOCS_VERSION: v0.19.0 | |
TERRAFORM_VERSION: 1.3.1 | |
TFLINT_VERSION: v0.53.0 | |
TFHCLEDIT_VERSION: 0.2.15 | |
jobs: | |
format: | |
name: Lint & format | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Python | |
uses: actions/setup-python@v2 | |
- name: Install Terraform | |
uses: hashicorp/setup-terraform@v2 | |
with: | |
terraform_version: ${{env.TERRAFORM_VERSION}} | |
- name: Install pre-commit dependencies | |
env: | |
TFLINT_VERSION: ${{ env.TFLINT_VERSION }} | |
run: | | |
pip install pre-commit | |
curl -Lo ./terraform-docs.tar.gz https://github.com/terraform-docs/terraform-docs/releases/download/${{ env.TERRAFORM_DOCS_VERSION }}/terraform-docs-${{ env.TERRAFORM_DOCS_VERSION }}-$(uname)-amd64.tar.gz && tar -xzf terraform-docs.tar.gz terraform-docs && chmod +x terraform-docs && sudo mv terraform-docs /usr/bin/ | |
curl -s https://raw.githubusercontent.com/terraform-linters/tflint/master/install_linux.sh | bash | |
curl -Lo ./hcledit.tar.gz https://github.com/minamijoyo/hcledit/releases/download/v${{ env.TFHCLEDIT_VERSION }}/hcledit_${{ env.TFHCLEDIT_VERSION }}_$(uname)_amd64.tar.gz && tar -xzf hcledit.tar.gz hcledit && chmod +x hcledit && sudo mv hcledit /usr/bin/ | |
- name: Execute pre-commit | |
run: pre-commit run --color=always --show-diff-on-failure --all-files |