File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -85,16 +85,15 @@ jobs:
8585 git config --global user.name "github-actions[bot]"
8686 git config --global user.email "github-actions[bot]@users.noreply.github.com"
8787
88- - name : Check for changes
88+ - name : Check for data changes
8989 id : check-changes
9090 run : |
91- git add python/packages/countries/countrystatecity_countries/data python/packages/countries/pyproject.toml python/packages/countries/countrystatecity_countries/__init__.py
92- if git diff --cached --quiet; then
93- echo "changed=false" >> $GITHUB_OUTPUT
94- echo "No data changes detected"
95- else
91+ if git diff --name-only -- python/packages/countries/countrystatecity_countries/data | grep -q .; then
9692 echo "changed=true" >> $GITHUB_OUTPUT
9793 echo "Data changes detected"
94+ else
95+ echo "changed=false" >> $GITHUB_OUTPUT
96+ echo "No data changes detected"
9897 fi
9998
10099 - name : Bump patch version
You can’t perform that action at this time.
0 commit comments