ci: inline gh API call for Editorconfig check

This commit is contained in:
raf 2025-03-29 19:11:50 +03:00
parent f3f818656d
commit 6914a70e48
No known key found for this signature in database
GPG key ID: 29D95B64378DB4BF

View file

@ -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"