Skip to content

Commit

Permalink
Remove unnecessary git fetch and add more changes to trigger a nigh…
Browse files Browse the repository at this point in the history
…tly release (#14146)
  • Loading branch information
desertaxle committed Jun 19, 2024
1 parent 539e380 commit f8cce7b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/nightly-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,8 @@ jobs:
- name: Check for changes since latest tag
id: check_changes
run: |
git fetch --prune --unshallow
latest_tag=${{ env.latest_tag }}
if git diff --exit-code $latest_tag HEAD -- '*.py' 'requirements.txt'; then
if git diff --exit-code $latest_tag HEAD -- '*.py' setup.py requirements.txt requirements-client.txt ui; then
echo "SHOULD_CREATE_RELEASE=false" >> $GITHUB_ENV
echo "No changes in .py files or dependencies since the latest tag."
else
Expand Down

0 comments on commit f8cce7b

Please sign in to comment.