diff --git a/.github/workflows/project_data_change.yml b/.github/workflows/project_data_change.yml index 73b7de4..1fb62f0 100644 --- a/.github/workflows/project_data_change.yml +++ b/.github/workflows/project_data_change.yml @@ -33,7 +33,7 @@ jobs: id: changes run: | CHANGED_FILES=$(curl -s -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \ - https://api.github.com/repos/${{ github.repository }}/commits/${{ github.sha }} | jq -r '.files[].filename' | grep 'project/data/') + https://api.github.com/repos/${{ github.repository }}/commits/${{ github.sha }} | jq -r '.files[].filename' | grep 'project/data/.*\.tsv$') CHANGED_FILES=$(echo "$CHANGED_FILES" | tr '\n' ' ') echo "CHANGED_FILES=$CHANGED_FILES" >> $GITHUB_ENV echo "Files changed: $CHANGED_FILES"