Update check.yml

This commit is contained in:
freearhey
2025-05-13 06:20:07 +03:00
parent 3566160840
commit 1cc132453d

View File

@@ -13,11 +13,12 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 2
- run: git fetch origin master:master
- name: changed files
id: files
run: |
ANY_CHANGED=false
ALL_CHANGED_FILES=$(git diff --name-only origin/${{ github.base_ref }}..${{ github.sha }} -- streams/ | tr '\n' ' ')
ALL_CHANGED_FILES=$(git diff --name-only master -- streams/ | tr '\n' ' ')
if [ -n "${ALL_CHANGED_FILES}" ]; then
ANY_CHANGED=true
fi