File tree Expand file tree Collapse file tree 10 files changed +215
-163
lines changed Expand file tree Collapse file tree 10 files changed +215
-163
lines changed Original file line number Diff line number Diff line change 15
15
16
16
# Cloud Posse must review any changes to standard context definition,
17
17
# 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
20
20
README.md @ cloudposse/engineering @ cloudposse/contributors @ cloudposse/approvers
21
21
docs /* .md @ cloudposse/engineering @ cloudposse/contributors @ cloudposse/approvers
22
22
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ template: |
46
46
47
47
replacers :
48
48
# Remove irrelevant information from Renovate bot
49
- - search : ' /---\s+^#.*Renovate configuration(?:.|\n)*?This PR has been generated .*/gm'
49
+ - search : ' /---\s+^#.*( Renovate configuration|Configuration) (?:.|\n)*?This PR has been generated .*/gm'
50
50
replace : ' '
51
51
# Remove Renovate bot banner image
52
52
- search : ' /\[!\[[^\]]*Renovate\][^\]]*\](\([^)]*\))?\s*\n+/gm'
Original file line number Diff line number Diff line change @@ -56,3 +56,10 @@ pull_request_rules:
56
56
changes_requested : true
57
57
approved : true
58
58
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 6
6
jobs :
7
7
auto-format :
8
8
runs-on : ubuntu-latest
9
- container : cloudposse/build-harness:slim- latest
9
+ container : cloudposse/build-harness:latest
10
10
steps :
11
11
# Checkout the pull request branch
12
12
# "An action in a workflow run can’t trigger a new workflow run. For example, if an action pushes code using
29
29
- name : Auto Format
30
30
if : github.event.pull_request.state == 'open'
31
31
shell : bash
32
+ env :
33
+ GITHUB_TOKEN : " ${{ secrets.PUBLIC_REPO_ACCESS_TOKEN }}"
32
34
run : make BUILD_HARNESS_PATH=/build-harness PACKAGES_PREFER_HOST=true -f /build-harness/templates/Makefile.build-harness pr/auto-format/host
33
35
34
36
# Commit changes (if any) to the PR branch
Original file line number Diff line number Diff line change @@ -3,17 +3,25 @@ name: auto-release
3
3
on :
4
4
push :
5
5
branches :
6
- - master
6
+ - main
7
+ - master
8
+ - production
7
9
8
10
jobs :
9
11
publish :
10
12
runs-on : ubuntu-latest
11
13
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
+ if : " !contains(steps.get-merged-pull-request.outputs.labels, 'no-release')"
22
+ with :
23
+ publish : true
24
+ prerelease : false
25
+ config-name : auto-release.yml
26
+ env :
27
+ GITHUB_TOKEN : ${{ secrets.PUBLIC_REPO_ACCESS_TOKEN }}
Original file line number Diff line number Diff line change 1
1
name : Validate Codeowners
2
2
on :
3
+ workflow_dispatch :
4
+
3
5
pull_request :
4
6
5
7
jobs :
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -39,6 +39,12 @@ badges:
39
39
image : " https://slack.cloudposse.com/badge.svg"
40
40
url : " https://slack.cloudposse.com"
41
41
42
+ # List any related terraform modules that this module may be used with or that this module depends on.
43
+ related :
44
+ - name : " terraform-null-label"
45
+ description : " Terraform module designed to generate consistent names and tags for resources. Use terraform-null-label to implement a strict naming convention."
46
+ url : " https://github.com/cloudposse/terraform-null-label"
47
+
42
48
# Short description of this project
43
49
description : |-
44
50
Terraform module to provision an [`ElastiCache`](https://aws.amazon.com/elasticache/) Redis Cluster
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -18,6 +18,11 @@ output "endpoint" {
18
18
description = " Redis primary endpoint"
19
19
}
20
20
21
+ output "member_clusters" {
22
+ value = aws_elasticache_replication_group. default . * . member_clusters
23
+ description = " Redis cluster members"
24
+ }
25
+
21
26
output "host" {
22
27
value = module. dns . hostname
23
28
description = " Redis hostname"
You can’t perform that action at this time.
0 commit comments