diff --git a/.github/workflows/black-pr.yml b/.github/workflows/black-pr.yml index 3de7100169..fb98f26561 100644 --- a/.github/workflows/black-pr.yml +++ b/.github/workflows/black-pr.yml @@ -34,7 +34,7 @@ jobs: $commitEndpoint=$($payload.pull_request._links.commits.href) echo "$commitEndpoint" $commits = Invoke-WebRequest -Uri "$commitEndpoint" | ConvertFrom-Json - bash -c "git diff --name-only HEAD HEAD~$($commits.count)>/d/changes.txt" + bash -c "git diff --name-only HEAD~$($commits.count) HEAD>/d/changes.txt" - name: Run Black on top of latest commit shell: bash @@ -45,14 +45,14 @@ jobs: content=$(