diff --git a/.github/workflows/black.yml b/.github/workflows/black.yml index c0805d89..fa5b9915 100644 --- a/.github/workflows/black.yml +++ b/.github/workflows/black.yml @@ -24,6 +24,8 @@ jobs: steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v3 + with: + ref: ${{ github.head_ref }} # Runs the code through Black - uses: piotrpawlaczek/python-blacken@release/stable