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 - uses: actions/checkout@v4
with: with:
fetch-depth: 2 fetch-depth: 2
- run: git fetch origin master:master
- name: changed files - name: changed files
id: files id: files
run: | run: |
ANY_CHANGED=false 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 if [ -n "${ALL_CHANGED_FILES}" ]; then
ANY_CHANGED=true ANY_CHANGED=true
fi fi