Skip to content

Commit f61ff30

Browse files
committed
perf: ubuntu-latest tf pan apply
1 parent de3edf0 commit f61ff30

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/tf_plan_apply.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
tofu_wrapper: false
5252

5353
- name: GitHub Configuration
54-
run: echo https://oauth2:${{ secrets.GH_TOKEN }}@github.com > ${HOME}/.git-credentials
54+
run: git config --global url."https://oauth2:${{ secrets.GH_TOKEN }}@github.com".insteadOf "https://github.com"
5555

5656
# Initialize a new or existing OpenTofu working directory by creating initial files, loading any remote state, downloading modules, etc.
5757
- name: OpenTofu Init
@@ -116,6 +116,9 @@ jobs:
116116
- name: Setup OpenTofu
117117
uses: opentofu/setup-opentofu@v2
118118

119+
- name: GitHub Configuration
120+
run: git config --global url."https://oauth2:${{ secrets.GH_TOKEN }}@github.com".insteadOf "https://github.com"
121+
119122
# Initialize a new or existing OpenTofu working directory by creating initial files, loading any remote state, downloading modules, etc.
120123
- name: OpenTofu Init
121124
run: |

0 commit comments

Comments
 (0)