Skip to content

Commit 1cd0af0

Browse files
committed
perf: remove tofu gh token based auth
1 parent 752dd94 commit 1cd0af0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/tf_plan_apply.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ jobs:
4040
- name: Setup OpenTofu
4141
uses: opentofu/setup-opentofu@v1
4242
with:
43-
github_token: ${{ secrets.GH_TOKEN }}
43+
tofu_wrapper: false
44+
# github_token: ${{ secrets.GH_TOKEN }}
4445

4546
- name: GitHub Configuration
4647
run: git config --global url."https://oauth2:${{ secrets.GH_TOKEN }}@github.com".insteadOf https://github.com
@@ -106,8 +107,8 @@ jobs:
106107
# Install the latest version of OpenTofu CLI and configure the OpenTofu CLI configuration file with a OpenTofu Cloud user API token
107108
- name: Setup OpenTofu
108109
uses: opentofu/setup-opentofu@v1
109-
with:
110-
github_token: ${{ secrets.GH_TOKEN }}
110+
# with:
111+
# github_token: ${{ secrets.GH_TOKEN }}
111112

112113
- name: GitHub Configuration
113114
run: git config --global url."https://oauth2:${{ secrets.GH_TOKEN }}@github.com".insteadOf https://github.com

0 commit comments

Comments
 (0)