Skip to content

Commit 2ed8e05

Browse files
authored
Merge pull request #2192 from habibayassin/pr-update-rules
gha: update rules rename push ref
2 parents d87f5b9 + 4a46939 commit 2ed8e05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/github-actions-update-rules.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
name: update rules pr
5454
id: remote-update-pr
5555
run: |
56-
git push origin "refs/pull/${{ github.event.client_payload.branch }}/head"
56+
git push origin "HEAD:refs/pull/${{ github.event.client_payload.branch }}/head"
5757
- if: "steps.remote-update.outputs.has_update == 'true' && github.event.client_payload.branch == 'master'"
5858
name: Create Draft PR
5959
uses: peter-evans/create-pull-request@v5

0 commit comments

Comments
 (0)