diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 08ea211..533728b 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -8,4 +8,4 @@ # the repo. Unless a later match takes precedence, # @global-owner1 and @global-owner2 will be requested for # review when someone opens a pull request. -* @honestbank/devops-engineers @honestbank/backend-engineers +* @honestbank/devops-engineers diff --git a/.github/workflows/semantic-pr.yaml b/.github/workflows/semantic-pr.yaml index cc51e5d..34da00e 100644 --- a/.github/workflows/semantic-pr.yaml +++ b/.github/workflows/semantic-pr.yaml @@ -9,9 +9,10 @@ on: jobs: main: - name: Validate PR title + name: Semantic Pull Request runs-on: ubuntu-latest steps: - uses: amannn/action-semantic-pull-request@v4 + name: Semantic Pull Request env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index bb74afc..e768798 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,22 +1,26 @@ +# DO NOT CHANGE. This file is being managed from a central repository +# To know more simply visit https://github.com/honestbank/.github/blob/main/docs/about.md + # See https://pre-commit.com for more information # See https://pre-commit.com/hooks.html for more hooks + repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v3.2.0 + rev: v4.2.0 # Get the latest from: https://github.com/pre-commit/pre-commit-hooks/releases hooks: - id: trailing-whitespace - id: end-of-file-fixer - id: check-yaml - id: check-added-large-files - - repo: git://github.com/antonbabenko/pre-commit-terraform - rev: v1.48.0 # Get the latest from: https://github.com/antonbabenko/pre-commit-terraform/releases + - id: detect-aws-credentials + args: ["--allow-missing-credentials"] + - repo: https://github.com/antonbabenko/pre-commit-terraform + rev: v1.68.0 # Get the latest from: https://github.com/antonbabenko/pre-commit-terraform/releases hooks: - id: terraform_fmt - id: terraform_docs - id: terraform_validate - id: terraform_tfsec - - id: checkov - - repo: https://github.com/zricethezav/gitleaks - rev: v8.2.0 - hooks: - - id: gitleaks + exclude: "test/" + - id: terraform_checkov + exclude: "test/"