diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index eb2aef34..055f80dd 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -119,7 +119,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | gh api \ - repos/notashelf/nvf/pulls/${{github.event.number}}/files --paginate \ + repos/${{ github.repository }}/pulls/${{ github.event.number }}/files --paginate \ | jq '.[] | select(.status != "removed") | .filename' \ > "$HOME/changed_files" @@ -138,9 +138,7 @@ jobs: - name: Checking EditorConfig shell: bash run: | - cat "$HOME/changed_files" | nix-shell -p editorconfig-checker.out \ - --run 'xargs -r editorconfig-checker -disable-indentation -exclude flake.lock --verbose' - echo -n "Check status: $?" + < "$HOME/changed_files" nix-shell -p editorconfig-checker --run 'xargs -r editorconfig-checker -disable-indent-size' - if: ${{ failure() }} shell: bash