diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 2537f2f8..6f64b5a3 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -15,8 +15,8 @@ # Cloud Posse must review any changes to standard context definition, # but some changes can be rubber-stamped. -**/*.tf @cloudposse/engineering @cloudposse/approvers -README.yaml @cloudposse/engineering @cloudposse/approvers +**/*.tf @cloudposse/engineering @cloudposse/contributors @cloudposse/approvers +README.yaml @cloudposse/engineering @cloudposse/contributors @cloudposse/approvers README.md @cloudposse/engineering @cloudposse/contributors @cloudposse/approvers docs/*.md @cloudposse/engineering @cloudposse/contributors @cloudposse/approvers diff --git a/.github/mergify.yml b/.github/mergify.yml index b0106567..ef15545e 100644 --- a/.github/mergify.yml +++ b/.github/mergify.yml @@ -56,3 +56,10 @@ pull_request_rules: changes_requested: true approved: true message: "This Pull Request has been updated, so we're dismissing all reviews." + +- name: "close Pull Requests without files changed" + conditions: + - "#files=0" + actions: + close: + message: "This pull request has been automatically closed by Mergify because there are no longer any changes." diff --git a/.github/workflows/auto-format.yml b/.github/workflows/auto-format.yml index 990abed6..375d0fd4 100644 --- a/.github/workflows/auto-format.yml +++ b/.github/workflows/auto-format.yml @@ -6,7 +6,7 @@ on: jobs: auto-format: runs-on: ubuntu-latest - container: cloudposse/build-harness:slim-latest + container: cloudposse/build-harness:latest steps: # Checkout the pull request branch # "An action in a workflow run can’t trigger a new workflow run. For example, if an action pushes code using @@ -29,6 +29,8 @@ jobs: - name: Auto Format if: github.event.pull_request.state == 'open' shell: bash + env: + GITHUB_TOKEN: "${{ secrets.PUBLIC_REPO_ACCESS_TOKEN }}" run: make BUILD_HARNESS_PATH=/build-harness PACKAGES_PREFER_HOST=true -f /build-harness/templates/Makefile.build-harness pr/auto-format/host # Commit changes (if any) to the PR branch diff --git a/.github/workflows/validate-codeowners.yml b/.github/workflows/validate-codeowners.yml index 386eb286..c5193b62 100644 --- a/.github/workflows/validate-codeowners.yml +++ b/.github/workflows/validate-codeowners.yml @@ -1,5 +1,7 @@ name: Validate Codeowners on: + workflow_dispatch: + pull_request: jobs: diff --git a/README.md b/README.md index 051e8c32..f6ff8e17 100644 --- a/README.md +++ b/README.md @@ -379,8 +379,8 @@ Available targets: | Name | Source | Version | |------|--------|---------| -| [dns](#module\_dns) | cloudposse/route53-alias/aws | 0.12.0 | -| [logs](#module\_logs) | cloudposse/s3-log-storage/aws | 0.24.1 | +| [dns](#module\_dns) | cloudposse/route53-alias/aws | 0.12.1 | +| [logs](#module\_logs) | cloudposse/s3-log-storage/aws | 0.26.0 | | [origin\_label](#module\_origin\_label) | cloudposse/label/null | 0.25.0 | | [this](#module\_this) | cloudposse/label/null | 0.25.0 | diff --git a/docs/terraform.md b/docs/terraform.md index c76f7c1f..cbd536af 100644 --- a/docs/terraform.md +++ b/docs/terraform.md @@ -18,8 +18,8 @@ | Name | Source | Version | |------|--------|---------| -| [dns](#module\_dns) | cloudposse/route53-alias/aws | 0.12.0 | -| [logs](#module\_logs) | cloudposse/s3-log-storage/aws | 0.24.1 | +| [dns](#module\_dns) | cloudposse/route53-alias/aws | 0.12.1 | +| [logs](#module\_logs) | cloudposse/s3-log-storage/aws | 0.26.0 | | [origin\_label](#module\_origin\_label) | cloudposse/label/null | 0.25.0 | | [this](#module\_this) | cloudposse/label/null | 0.25.0 | diff --git a/main.tf b/main.tf index 73c70ddc..cae2c31c 100644 --- a/main.tf +++ b/main.tf @@ -295,7 +295,7 @@ resource "aws_s3_bucket_public_access_block" "origin" { module "logs" { source = "cloudposse/s3-log-storage/aws" - version = "0.24.1" + version = "0.26.0" enabled = local.create_cf_log_bucket attributes = var.extra_logs_attributes lifecycle_prefix = local.cloudfront_access_log_prefix @@ -566,7 +566,7 @@ resource "aws_cloudfront_distribution" "default" { module "dns" { source = "cloudposse/route53-alias/aws" - version = "0.12.0" + version = "0.12.1" enabled = (local.enabled && var.dns_alias_enabled) aliases = var.aliases parent_zone_id = var.parent_zone_id