Skip to content

Commit 4576f5c

Browse files
committed
fix: overwrite git config in tf_plan_apply_gh
1 parent 69ef4f3 commit 4576f5c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/tf_plan_apply_gh.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ jobs:
5050
with:
5151
tofu_wrapper: false
5252

53+
- name: GitHub Configuration
54+
run: git config --global "https://oauth2:${{ secrets.GH_TOKEN }}@github.com".insteadOf "https://github.com"
55+
5356
# Initialize a new or existing OpenTofu working directory by creating initial files, loading any remote state, downloading modules, etc.
5457
- name: OpenTofu Init
5558
run: |
@@ -113,6 +116,9 @@ jobs:
113116
- name: Setup OpenTofu
114117
uses: opentofu/setup-opentofu@v1
115118

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

0 commit comments

Comments
 (0)