diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index ee536ee..45bea27 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1 +1 @@ -* @moritzzimmer @thisismana +* @moritzzimmer @thisismana @saefty diff --git a/.github/workflows/pr-title.yaml b/.github/workflows/pr-title.yaml new file mode 100644 index 0000000..367830a --- /dev/null +++ b/.github/workflows/pr-title.yaml @@ -0,0 +1,37 @@ +name: "pr title" + +on: + pull_request_target: + types: + - opened + - edited + - synchronize + +jobs: + main: + name: validate + runs-on: ubuntu-latest + steps: + - uses: amannn/action-semantic-pull-request@v5 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + types: | + fix + feat + docs + ci + chore + requireScope: false + # Configure additional validation for the subject based on a regex. + # This example ensures the subject doesn't start with an uppercase character. + subjectPattern: ^(?![A-Z]).+$ + # If `subjectPattern` is configured, you can use this property to override + # the default error message that is shown when the pattern doesn't match. + # The variables `subject` and `title` can be used within the message. + subjectPatternError: | + The subject "{subject}" found in the pull request title "{title}" + didn't match the configured pattern. Please ensure that the subject + starts with an uppercase character. + wip: true + validateSingleCommit: false \ No newline at end of file diff --git a/.github/workflows/workflow.yaml b/.github/workflows/static-analysis.yaml similarity index 94% rename from .github/workflows/workflow.yaml rename to .github/workflows/static-analysis.yaml index 91c390c..27d8f23 100644 --- a/.github/workflows/workflow.yaml +++ b/.github/workflows/static-analysis.yaml @@ -1,4 +1,4 @@ -name: CI +name: "static analysis" on: pull_request: @@ -10,7 +10,7 @@ on: jobs: validate: - name: Validate + name: validate runs-on: ubuntu-latest strategy: matrix: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6cfb476..fa79243 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/antonbabenko/pre-commit-terraform - rev: v1.76.0 + rev: v1.77.0 hooks: - id: terraform_fmt - id: terraform_validate diff --git a/README.md b/README.md index e9dbd65..87d44f3 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # AWS Fargate ECS Terraform Module -[![Terraform Registry](https://img.shields.io/badge/Terraform%20Registry-0.26.0-blue.svg)](https://registry.terraform.io/modules/stroeer/ecs-fargate/aws/0.26.0) ![CI](https://github.com/stroeer/terraform-aws-buzzgate/workflows/CI/badge.svg?branch=master) ![Terraform Version](https://img.shields.io/badge/Terraform-0.12+-green.svg) [![License: Apache 2.0](https://img.shields.io/badge/License-Apache%202.0-yellow.svg)](https://opensource.org/licenses/Apache-2.0) +![CI](https://github.com/stroeer/terraform-aws-ecs-fargate/workflows/static%20analysis/badge.svg) [![Terraform Registry](https://img.shields.io/badge/Terraform%20Registry-0.26.0-blue.svg)](https://registry.terraform.io/modules/stroeer/ecs-fargate/aws/0.26.0) ![Terraform Version](https://img.shields.io/badge/Terraform-0.12+-green.svg) [![License: Apache 2.0](https://img.shields.io/badge/License-Apache%202.0-yellow.svg)](https://opensource.org/licenses/Apache-2.0) A somewhat opinionated Terraform module to create Fargate ECS resources on AWS. @@ -279,7 +279,7 @@ for example. | Name | Version | |------|---------| -| [aws](#provider\_aws) | 4.32.0 | +| [aws](#provider\_aws) | 4.38.0 | | [terraform](#provider\_terraform) | n/a | ## Modules diff --git a/docs/part1.md b/docs/part1.md index df68b6f..3806d9b 100644 --- a/docs/part1.md +++ b/docs/part1.md @@ -1,6 +1,6 @@ # AWS Fargate ECS Terraform Module -[![Terraform Registry](https://img.shields.io/badge/Terraform%20Registry-0.26.0-blue.svg)](https://registry.terraform.io/modules/stroeer/ecs-fargate/aws/0.26.0) ![CI](https://github.com/stroeer/terraform-aws-buzzgate/workflows/CI/badge.svg?branch=master) ![Terraform Version](https://img.shields.io/badge/Terraform-0.12+-green.svg) [![License: Apache 2.0](https://img.shields.io/badge/License-Apache%202.0-yellow.svg)](https://opensource.org/licenses/Apache-2.0) +![CI](https://github.com/stroeer/terraform-aws-ecs-fargate/workflows/static%20analysis/badge.svg) [![Terraform Registry](https://img.shields.io/badge/Terraform%20Registry-0.26.0-blue.svg)](https://registry.terraform.io/modules/stroeer/ecs-fargate/aws/0.26.0) ![Terraform Version](https://img.shields.io/badge/Terraform-0.12+-green.svg) [![License: Apache 2.0](https://img.shields.io/badge/License-Apache%202.0-yellow.svg)](https://opensource.org/licenses/Apache-2.0) A somewhat opinionated Terraform module to create Fargate ECS resources on AWS. diff --git a/docs/part2.md b/docs/part2.md index 2d6aba5..af2cbe9 100644 --- a/docs/part2.md +++ b/docs/part2.md @@ -9,7 +9,7 @@ | Name | Version | |------|---------| -| [aws](#provider\_aws) | 4.32.0 | +| [aws](#provider\_aws) | 4.38.0 | | [terraform](#provider\_terraform) | n/a | ## Modules