File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 8
8
types : [apb]
9
9
10
10
env :
11
- BRANCH_NAME : improvement/support_atx_closed_markdown_headers
12
11
CURL_CACHE_DIR : ~/.cache/curl
13
- DEPTH : 1
14
12
PIP_CACHE_DIR : ~/.cache/pip
15
13
PRE_COMMIT_CACHE_DIR : ~/.cache/pre-commit
16
- REPO_URL : https://github.com/mcdonnnj/terraform-docs.git
17
14
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
18
18
19
19
jobs :
20
20
diagnostics :
@@ -133,8 +133,10 @@ jobs:
133
133
# terraform-docs is ran during lint.
134
134
- name : Clone ATX Headers branch from Terraform-docs Fork
135
135
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
138
140
- name : Build and Install Terraform-docs Binary
139
141
run : |
140
142
cd /tmp/terraform-docs
You can’t perform that action at this time.
0 commit comments