File tree Expand file tree Collapse file tree 6 files changed +27
-15
lines changed Expand file tree Collapse file tree 6 files changed +27
-15
lines changed Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ sections:
14
14
- modules
15
15
16
16
content : |-
17
- # AWS Cloudwatch OAM Terraform module
18
- A Terraform module which configures your AWS Cloudwatch OAM. Read [this](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Unified-Cross-Account.html) page for more information.
17
+ {{ include "./.config/title.md"}}
18
+
19
19
{{ .Header }}
20
20
21
21
## Example
Original file line number Diff line number Diff line change @@ -6,4 +6,4 @@ Checkout our other :point_right: [terraform modules](https://registry.terraform.
6
6
7
7
## Copyright
8
8
9
- Copyright © 2017-2023 [ Blackbird Cloud] ( https://www. blackbird.cloud )
9
+ Copyright © 2017-2024 [ Blackbird Cloud] ( https://blackbird.cloud )
Original file line number Diff line number Diff line change 1
- [ ![ blackbird-logo] ( https://raw.githubusercontent.com/blackbird-cloud/terraform-module-template/main/.config/logo_simple.png )] ( https://www. blackbird.cloud )
1
+ [ ![ blackbird-logo] ( https://raw.githubusercontent.com/blackbird-cloud/terraform-module-template/main/.config/logo_simple.png )] ( https://blackbird.cloud )
Original file line number Diff line number Diff line change
1
+ # Terraform Aws Cloudwatch Oam Module
2
+ Terraform module to create an AWS CloudWatch OAM
Original file line number Diff line number Diff line change 1
1
name : Validate and Format
2
- # on: push
2
+
3
3
on :
4
- pull_request_target :
5
- types : [opened, synchronize]
4
+ workflow_dispatch :
5
+ # pull_request_target:
6
+ # types: [opened, synchronize]
6
7
7
8
jobs :
8
9
format :
11
12
container : blackbirdcloud/terraform-toolkit:latest
12
13
steps :
13
14
- name : Checkout
14
- uses : actions/checkout@v3
15
+ uses : actions/checkout@v4
15
16
with :
16
17
repository : ${{ github.event.pull_request.head.repo.full_name }}
17
18
ref : ${{ github.event.pull_request.head.ref }}
30
31
- name : Commit and push
31
32
uses : EndBug/add-and-commit@v9
32
33
with :
33
- default_author : github_actions
34
+ default_author : github_actions
Original file line number Diff line number Diff line change 1
- name : Generate terraform docs
1
+ name : Generate Readme
2
+
2
3
on :
3
- - pull_request
4
+ push :
5
+ branches :
6
+ - main
7
+ workflow_dispatch :
4
8
5
9
jobs :
6
- docs :
10
+ generate-readme :
7
11
runs-on : ubuntu-latest
8
12
steps :
9
- - uses : actions/checkout@v3
13
+ - uses : actions/create-github-app-token@v1
14
+ id : app-token
10
15
with :
11
- ref : ${{ github.event.pull_request.head.ref }}
12
-
16
+ app-id : ${{ vars.BB_REPO_MANAGER_APP_ID }}
17
+ private-key : ${{ secrets.BB_REPO_MANAGER_SECRET }}
18
+ - uses : actions/checkout@v4
19
+ with :
20
+ token : ${{ steps.app-token.outputs.token }}
13
21
- name : Render terraform docs and push changes back to PR
14
22
uses : terraform-docs/gh-actions@main
15
23
with :
16
24
working-dir : .
17
25
config-file : .config/.terraform-docs.yml
18
26
git-push : " true"
19
27
output-method : replace
28
+
You can’t perform that action at this time.
0 commit comments