From e10444d2010b936babe27d9e252f78ddbdf3a4e5 Mon Sep 17 00:00:00 2001 From: Miodec Date: Thu, 23 Jan 2025 21:31:39 +0100 Subject: [PATCH] ci(pretty fix): use correct head ref --- .github/workflows/pretty-fix.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/pretty-fix.yml b/.github/workflows/pretty-fix.yml index db9bb2d7d..def9dc63c 100644 --- a/.github/workflows/pretty-fix.yml +++ b/.github/workflows/pretty-fix.yml @@ -18,6 +18,8 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v4 + with: + ref: ${{ github.event.pull_request.head.ref }} - name: Set up Node.js uses: actions/setup-node@v4 @@ -59,6 +61,7 @@ jobs: uses: stefanzweifel/git-auto-commit-action@v5 with: commit_message: "prettier fix" + branch: ${{ github.event.pull_request.head.ref }} - name: Remove label uses: PauMAVA/add-remove-label-action@v1.0.3