diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f3cf58a..51b61bc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,9 +18,9 @@ jobs: id: get_commit_range run: | if [ "${{ github.event_name }}" == "push" ]; then - echo "commit_range=${{ github.event.before }} ${{ github.sha }}" >> $GITHUB_ENV + echo "commit_range=${{ github.event.before }}..HEAD" >> $GITHUB_ENV else - echo "commit_range=${{ github.event.pull_request.base.sha }} ${{ github.sha }}" >> $GITHUB_ENV + echo "commit_range=${{ github.event.pull_request.base.sha }}..HEAD" >> $GITHUB_ENV fi - name: Check for changes in UI directory