Skip to content

Commit e64da56

Browse files
authored
Fix duplicate Authentication header in github action (#128)
1 parent cb26019 commit e64da56

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/release-and-deploy.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,11 @@ jobs:
143143
version: ${{ inputs.release_version }}
144144
operation: read
145145

146+
- name: Unset git extraheader (prevent duplicate Authorization)
147+
run: |
148+
git config --global --unset http.https://github.com/.extraheader || true
149+
git config --local --unset http.https://github.com/.extraheader || true
150+
146151
# create the pull request
147152
- name: Create Pull Request
148153
uses: peter-evans/create-pull-request@v6

0 commit comments

Comments
 (0)