We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d5b0d3 commit 36e38caCopy full SHA for 36e38ca
action.yaml
@@ -70,8 +70,10 @@ runs:
70
shell: bash
71
working-directory: ${{ inputs.working-directory }}
72
env:
73
- TF_VAR_github_token: ${{ inputs.GITHUB_TOKEN }}
74
- run: terraform init ${{ inputs.terraform-init-flags }}
+ GITHUB_TOKEN: ${{ inputs.GITHUB_TOKEN }}
+ run: |
75
+ git config --global url."https://oauth2:${GITHUB_TOKEN}@github.com".insteadOf https://github.com
76
+ terraform init ${{ inputs.terraform-init-flags }}
77
78
- name: Post Init
79
if: ${{ github.event_name == 'pull_request' }}
0 commit comments