Skip to content

Commit 9b68892

Browse files
authored
Merge pull request #686 from kexa-io/fix/versioning-ci-v2
fix(ci): clear checkout credentials before create-pull-request
2 parents 2546e38 + 0d882b9 commit 9b68892

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/versioning.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ jobs:
3636
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3737
with:
3838
token: ${{ steps.app-token.outputs.token }}
39-
persist-credentials: false
4039

4140
- name: Setup Bun
4241
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
@@ -103,6 +102,9 @@ jobs:
103102
104103
mv CHANGELOG.md.new CHANGELOG.md
105104
105+
- name: Remove checkout credentials to avoid duplicate Authorization header
106+
run: git config --local --unset-all http.https://github.com/.extraheader || true
107+
106108
- name: Create Pull Request
107109
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
108110
with:

0 commit comments

Comments
 (0)