diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 055f80dd..d154756f 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -117,9 +117,9 @@ jobs: - name: Get list of changed files from PR env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + shell: bash run: | - gh api \ - repos/${{ github.repository }}/pulls/${{ github.event.number }}/files --paginate \ + gh api repos/${{ github.repository }}/pulls/${{ github.event.number }}/files --paginate \ | jq '.[] | select(.status != "removed") | .filename' \ > "$HOME/changed_files"