Skip to content

Commit 62716f6

Browse files
committed
✏️ fix auto delete
1 parent f91ad2d commit 62716f6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/python-publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ jobs:
6868

6969
- name: Delete auto-update branch
7070
if: steps.cpr.outputs.pull-request-operation == 'created'
71-
run: git push origin --delete auto-update
72-
env:
73-
GITHUB_TOKEN: ${{ secrets.REPO_PUSH_TOKEN }}
71+
run: |
72+
git remote set-url origin https://x-access-token:${{ secrets.REPO_PUSH_TOKEN }}@github.com/${{ github.repository }}
73+
git push origin --delete auto-update
7474
7575
- name: Configure Poetry for PyPI
7676
run: |

0 commit comments

Comments
 (0)