We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32d3aff commit 728250aCopy full SHA for 728250a
.github/workflows/update-branch-on-pr.yml
@@ -14,9 +14,7 @@ jobs:
14
with:
15
ref: ${{ github.event.pull_request.head.sha }}
16
- name: Push changes
17
- uses: ad-m/github-push-action@master
18
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
+ run: |
+ git checkout -b pr/${{ github.event.pull_request.number }}
+ git push --force pr/${{ github.event.pull_request.number }}
0 commit comments