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 ed18e5a commit cc67de3Copy full SHA for cc67de3
.github/workflows/github-actions-update-rules.yml
@@ -18,7 +18,7 @@ jobs:
18
run: |
19
git config --add remote.origin.fetch "+refs/pull/*/head:refs/remotes/origin/pr/*"
20
git fetch
21
- git checkout ${{ github.event.client_payload.branch }}
+ git checkout "origin/pr/${{ github.event.client_payload.branch }}"
22
- uses: actions/setup-python@v4
23
with:
24
python-version: "3.10"
@@ -53,7 +53,7 @@ jobs:
53
name: update rules pr
54
id: remote-update-pr
55
56
- git push origin ${{ github.event.client_payload.branch }}
+ git push origin "refs/pull/${{ github.event.client_payload.branch }}/head"
57
- if: "steps.remote-update.outputs.has_update == 'true' && github.event.client_payload.branch == 'master'"
58
name: Create Draft PR
59
uses: peter-evans/create-pull-request@v5
0 commit comments