File tree Expand file tree Collapse file tree 9 files changed +38
-19
lines changed Expand file tree Collapse file tree 9 files changed +38
-19
lines changed Original file line number Diff line number Diff line change 1515
1616# Cloud Posse must review any changes to standard context definition,
1717# but some changes can be rubber-stamped.
18- ** /* .tf @ cloudposse/engineering @ cloudposse/approvers
19- README.yaml @ cloudposse/engineering @ cloudposse/approvers
18+ ** /* .tf @ cloudposse/engineering @ cloudposse/contributors @ cloudposse/ approvers
19+ README.yaml @ cloudposse/engineering @ cloudposse/contributors @ cloudposse/ approvers
2020README.md @ cloudposse/engineering @ cloudposse/contributors @ cloudposse/approvers
2121docs /* .md @ cloudposse/engineering @ cloudposse/contributors @ cloudposse/approvers
2222
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ version-resolver:
1717 - ' bugfix'
1818 - ' bug'
1919 - ' hotfix'
20+ - ' no-release'
2021 default : ' minor'
2122
2223categories :
@@ -46,7 +47,7 @@ template: |
4647
4748replacers :
4849# Remove irrelevant information from Renovate bot
49- - search : ' /---\s+ ^#.*Renovate configuration(?:.|\n)*?This PR has been generated .*/gm'
50+ - search : ' /(?<= ---\s)\s* ^#.*( Renovate configuration|Configuration) (?:.|\n)*?This PR has been generated .*/gm'
5051 replace : ' '
5152# Remove Renovate bot banner image
5253- search : ' /\[!\[[^\]]*Renovate\][^\]]*\](\([^)]*\))?\s*\n+/gm'
Original file line number Diff line number Diff line change @@ -56,3 +56,10 @@ pull_request_rules:
5656 changes_requested : true
5757 approved : true
5858 message : " This Pull Request has been updated, so we're dismissing all reviews."
59+
60+ - name : " close Pull Requests without files changed"
61+ conditions :
62+ - " #files=0"
63+ actions :
64+ close :
65+ message : " This pull request has been automatically closed by Mergify because there are no longer any changes."
Original file line number Diff line number Diff line change 66jobs :
77 auto-format :
88 runs-on : ubuntu-latest
9- container : cloudposse/build-harness:slim- latest
9+ container : cloudposse/build-harness:latest
1010 steps :
1111 # Checkout the pull request branch
1212 # "An action in a workflow run can’t trigger a new workflow run. For example, if an action pushes code using
2929 - name : Auto Format
3030 if : github.event.pull_request.state == 'open'
3131 shell : bash
32+ env :
33+ GITHUB_TOKEN : " ${{ secrets.PUBLIC_REPO_ACCESS_TOKEN }}"
3234 run : make BUILD_HARNESS_PATH=/build-harness PACKAGES_PREFER_HOST=true -f /build-harness/templates/Makefile.build-harness pr/auto-format/host
3335
3436 # Commit changes (if any) to the PR branch
Original file line number Diff line number Diff line change @@ -3,17 +3,24 @@ name: auto-release
33on :
44 push :
55 branches :
6- - master
6+ - main
7+ - master
8+ - production
79
810jobs :
911 publish :
1012 runs-on : ubuntu-latest
1113 steps :
12- # Drafts your next Release notes as Pull Requests are merged into "master"
13- - uses : release-drafter/release-drafter@v5
14- with :
15- publish : true
16- prerelease : false
17- config-name : auto-release.yml
18- env :
19- GITHUB_TOKEN : ${{ secrets.PUBLIC_REPO_ACCESS_TOKEN }}
14+ # Get PR from merged commit to master
15+ - uses : actions-ecosystem/action-get-merged-pull-request@v1
16+ id : get-merged-pull-request
17+ with :
18+ github_token : ${{ secrets.PUBLIC_REPO_ACCESS_TOKEN }}
19+ # Drafts your next Release notes as Pull Requests are merged into "main"
20+ - uses : release-drafter/release-drafter@v5
21+ with :
22+ publish : ${{ !contains(steps.get-merged-pull-request.outputs.labels, 'no-release') }}
23+ prerelease : false
24+ config-name : auto-release.yml
25+ env :
26+ GITHUB_TOKEN : ${{ secrets.PUBLIC_REPO_ACCESS_TOKEN }}
Original file line number Diff line number Diff line change 11name : Validate Codeowners
22on :
3+ workflow_dispatch :
4+
35 pull_request :
46
57jobs :
Original file line number Diff line number Diff line change @@ -117,8 +117,8 @@ Available targets:
117117
118118| Name | Source | Version |
119119| ------| --------| ---------|
120- | <a name =" module_dns " ></a > [ dns] ( #module\_ dns ) | cloudposse/route53-cluster-hostname/aws | 0.12.0 |
121- | <a name =" module_security_group " ></a > [ security\_ group] ( #module\_ security\_ group ) | cloudposse/security-group/aws | 0.3.1 |
120+ | <a name =" module_dns " ></a > [ dns] ( #module\_ dns ) | cloudposse/route53-cluster-hostname/aws | 0.12.2 |
121+ | <a name =" module_security_group " ></a > [ security\_ group] ( #module\_ security\_ group ) | cloudposse/security-group/aws | 0.3.3 |
122122| <a name =" module_this " ></a > [ this] ( #module\_ this ) | cloudposse/label/null | 0.25.0 |
123123
124124## Resources
Original file line number Diff line number Diff line change 1818
1919| Name | Source | Version |
2020| ------| --------| ---------|
21- | <a name =" module_dns " ></a > [ dns] ( #module\_ dns ) | cloudposse/route53-cluster-hostname/aws | 0.12.0 |
22- | <a name =" module_security_group " ></a > [ security\_ group] ( #module\_ security\_ group ) | cloudposse/security-group/aws | 0.3.1 |
21+ | <a name =" module_dns " ></a > [ dns] ( #module\_ dns ) | cloudposse/route53-cluster-hostname/aws | 0.12.2 |
22+ | <a name =" module_security_group " ></a > [ security\_ group] ( #module\_ security\_ group ) | cloudposse/security-group/aws | 0.3.3 |
2323| <a name =" module_this " ></a > [ this] ( #module\_ this ) | cloudposse/label/null | 0.25.0 |
2424
2525## Resources
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ data "aws_ami" "default" {
2828
2929module "security_group" {
3030 source = " cloudposse/security-group/aws"
31- version = " 0.3.1 "
31+ version = " 0.3.3 "
3232
3333 use_name_prefix = var. security_group_use_name_prefix
3434 rules = var. security_group_rules
@@ -105,7 +105,7 @@ resource "aws_eip" "default" {
105105
106106module "dns" {
107107 source = " cloudposse/route53-cluster-hostname/aws"
108- version = " 0.12.0 "
108+ version = " 0.12.2 "
109109 enabled = module. this . enabled && try (length (var. zone_id ), 0 ) > 0 ? true : false
110110 zone_id = var. zone_id
111111 ttl = 60
You can’t perform that action at this time.
0 commit comments