Skip to content

Commit 728250a

Browse files
committed
update
1 parent 32d3aff commit 728250a

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/update-branch-on-pr.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@ jobs:
1414
with:
1515
ref: ${{ github.event.pull_request.head.sha }}
1616
- name: Push changes
17-
uses: ad-m/github-push-action@master
1817
if: ${{ github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name }}
19-
with:
20-
github_token: ${{ secrets.GITHUB_TOKEN }}
21-
branch: 'HEAD:refs/heads/pr/${{ github.event.pull_request.number }}'
22-
force: true
18+
run: |
19+
git checkout -b pr/${{ github.event.pull_request.number }}
20+
git push --force pr/${{ github.event.pull_request.number }}

0 commit comments

Comments
 (0)