Skip to content

Commit 544e478

Browse files
Add prepended names to variables to describe their function
Co-authored-by: Nick <[email protected]>
1 parent f6d9d6e commit 544e478

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ on:
88
types: [apb]
99

1010
env:
11-
BRANCH_NAME: improvement/support_atx_closed_markdown_headers
1211
CURL_CACHE_DIR: ~/.cache/curl
13-
DEPTH: 1
1412
PIP_CACHE_DIR: ~/.cache/pip
1513
PRE_COMMIT_CACHE_DIR: ~/.cache/pre-commit
16-
REPO_URL: https://github.com/mcdonnnj/terraform-docs.git
1714
RUN_TMATE: ${{ secrets.RUN_TMATE }}
15+
TERRAFORM_DOCS_REPO_BRANCH_NAME: improvement/support_atx_closed_markdown_headers
16+
TERRAFORM_DOCS_REPO_DEPTH: 1
17+
TERRAFORM_DOCS_REPO_URL: https://github.com/mcdonnnj/terraform-docs.git
1818

1919
jobs:
2020
diagnostics:
@@ -133,8 +133,10 @@ jobs:
133133
# terraform-docs is ran during lint.
134134
- name: Clone ATX Headers branch from Terraform-docs Fork
135135
run: |
136-
git clone --branch $BRANCH_NAME --single-branch \
137-
--depth=$DEPTH $REPO_URL /tmp/terraform-docs
136+
git clone --single-branch \
137+
--branch $TERRAFORM_DOCS_REPO_BRANCH_NAME \
138+
--depth $TERRAFORM_DOCS_REPO_DEPTH \
139+
$TERRAFORM_DOCS_REPO_URL /tmp/terraform-docs
138140
- name: Build and Install Terraform-docs Binary
139141
run: |
140142
cd /tmp/terraform-docs

0 commit comments

Comments
 (0)