diff --git a/.github/workflows/black.yaml b/.github/workflows/black.yaml index 5d6483a..bb4f04f 100644 --- a/.github/workflows/black.yaml +++ b/.github/workflows/black.yaml @@ -8,6 +8,8 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v4 + with: + ref: ${{ github.head_ref }} - name: Black uses: psf/black@stable @@ -16,6 +18,6 @@ jobs: version: "24.10.0" - name: Auto commit - uses: stefanzweifel/git-auto-commit-action@v5.1.0 + uses: stefanzweifel/git-auto-commit-action@v6.0.0 with: commit_message: "style: ci lint with `black`"