Skip to content

Commit 54cc462

Browse files
authored
Update rebase_workflow.yml
1 parent 928b244 commit 54cc462

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/rebase_workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ jobs:
3535
env:
3636
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
3737
run: |
38-
gh auth login
3938
gh repo clone ${{ github.repository }} ./
4039
gh pr checkout ${{ github.event.inputs.prNumber }}
4140
@@ -49,6 +48,7 @@ jobs:
4948
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
5049
run: |
5150
git rebase ${BRANCH_NAME}
51+
git remote set-url origin https://x-access-token:${{ steps.generate_token.outputs.token }}@github.com/${{ github.repository }}.git
5252
git push --force
5353
5454
- name: Notify if rebase was unsuccessful

0 commit comments

Comments
 (0)