Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable outputs for summary #37

Merged
merged 2 commits into from
Jan 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -299,12 +299,12 @@ runs:

terraform output --json > output_values.json

terraform-docs -c ${{ github.action_path }}/config/tfdocs-config.yaml --output-file ${{ github.workspace }}/atmos-apply-summary.md ./
# terraform-docs -c ${{ github.action_path }}/config/tfdocs-config.yaml --output-file ${{ github.workspace }}/atmos-apply-summary.md ./

sed -i "s#\`<sensitive>\`#![Sensitive](https://img.shields.io/badge/sensitive-c40000?style=for-the-badge)#g" ${{ github.workspace }}/atmos-apply-summary.md
sed -i "s#\`\"#\`#g" ${{ github.workspace }}/atmos-apply-summary.md
sed -i "s#\"\`#\`#g" ${{ github.workspace }}/atmos-apply-summary.md
sed -i "s#|--#|:-#g" ${{ github.workspace }}/atmos-apply-summary.md
# sed -i "s#\`<sensitive>\`#![Sensitive](https://img.shields.io/badge/sensitive-c40000?style=for-the-badge)#g" ${{ github.workspace }}/atmos-apply-summary.md
# sed -i "s#\`\"#\`#g" ${{ github.workspace }}/atmos-apply-summary.md
# sed -i "s#\"\`#\`#g" ${{ github.workspace }}/atmos-apply-summary.md
# sed -i "s#|--#|:-#g" ${{ github.workspace }}/atmos-apply-summary.md

cat "${{ github.workspace }}/atmos-apply-summary.md" >> $GITHUB_STEP_SUMMARY

Expand Down
8 changes: 0 additions & 8 deletions config/atmos_github_summary.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,6 @@ terraform:
{{wrapCode .CombinedOutput}}
</details>

<details><summary><a id="outputs-{{.Vars.stack}}-{{.Vars.component}}" />Terraform Outputs</summary>

[//]: # (BEGIN_TF_DOCS)

[//]: # (END_TF_DOCS)

</details>

{{if ne .Vars.infracost_details_diff_breakdown ""}}
{{template "infracost" .}}
{{end}}
Expand Down
Loading