chore: don't error nightly github action when no changes

PiperOrigin-RevId: 583489094
This commit is contained in:
Elizabeth Mitchell 2023-11-17 14:34:24 -08:00 committed by Copybara-Service
parent 6a1fb388cb
commit 302d181914

View File

@ -16,6 +16,7 @@ jobs:
- uses: actions/checkout@v3
- name: Check if the current commit is less than 24 hours old
id: check
continue-on-error: true
run: test -n "$(git rev-list --after='24 hours' ${{ github.sha }})" && echo "changed=yes" >> "$GITHUB_OUTPUT"
publish: