Skip to content

Commit 132adad

Browse files
committed
test(tf-plan): github authentication
1 parent 0813712 commit 132adad

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/tf_plan_apply.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ jobs:
4444
uses: opentofu/setup-opentofu@v1
4545
with:
4646
tofu_wrapper: false
47-
# github_token: ${{ secrets.GH_TOKEN }}
47+
github_token: ${{ secrets.GH_TOKEN }}
4848

49-
- name: GitHub Configuration
50-
run: git config --global url."https://${{ secrets.GH_TOKEN }}@github.com".insteadOf https://github.com
49+
# - name: GitHub Configuration
50+
# run: git config --global url."https://oauth2:${{ secrets.GH_TOKEN }}@github.com".insteadOf https://github.com
5151

5252
# Initialize a new or existing OpenTofu working directory by creating initial files, loading any remote state, downloading modules, etc.
5353
- name: OpenTofu Init

0 commit comments

Comments
 (0)