Skip to content

Commit ad77753

Browse files
committed
test: use GH_TOKEN env for git auth
1 parent 558fe5e commit ad77753

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/tf_plan_apply.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,10 @@ jobs:
5151
tofu_wrapper: false
5252
github_token: ${{ secrets.GH_TOKEN }}
5353

54-
# - name: GitHub Configuration
55-
# run: echo https://oauth2:${{ secrets.GH_TOKEN }}@github.com > ${HOME}/.git-credentials
54+
- name: GitHub Configuration
55+
run: |
56+
env
57+
echo https://oauth2:${{ secrets.GH_TOKEN }}@github.com > ${HOME}/.git-credentials
5658
5759
# Initialize a new or existing OpenTofu working directory by creating initial files, loading any remote state, downloading modules, etc.
5860
- name: OpenTofu Init

0 commit comments

Comments
 (0)