Skip to content

Commit

Permalink
Merge pull request #124 from bridge2ai/issue-120
Browse files Browse the repository at this point in the history
fix: only detect tsv file changes for updating synapse tables
  • Loading branch information
caufieldjh authored Nov 4, 2024
2 parents 6801940 + e073259 commit b6adf3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/project_data_change.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit b6adf3a

Please sign in to comment.