Skip to content

Commit 36d4bbe

Browse files
committed
fix: remove token based gh auth
1 parent 5a04228 commit 36d4bbe

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/tf_plan_apply.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ jobs:
3939
# Install the latest version of the OpenTofu CLI
4040
- name: Setup OpenTofu
4141
uses: opentofu/setup-opentofu@v1
42-
with:
43-
github_token: ${{ secrets.GH_TOKEN }}
42+
# with:
43+
# github_token: ${{ secrets.GH_TOKEN }}
4444

4545
- name: GitHub Configuration
4646
run: git config --global url."https://oauth2:${{ secrets.GH_TOKEN }}@github.com".insteadOf https://github.com
@@ -106,8 +106,8 @@ jobs:
106106
# Install the latest version of OpenTofu CLI and configure the OpenTofu CLI configuration file with a OpenTofu Cloud user API token
107107
- name: Setup OpenTofu
108108
uses: opentofu/setup-opentofu@v1
109-
with:
110-
github_token: ${{ secrets.GH_TOKEN }}
109+
# with:
110+
# github_token: ${{ secrets.GH_TOKEN }}
111111

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

0 commit comments

Comments
 (0)