From 302d1819143120b1505e7165f4a1045059d9c1ca Mon Sep 17 00:00:00 2001 From: Elizabeth Mitchell Date: Fri, 17 Nov 2023 14:34:24 -0800 Subject: [PATCH] chore: don't error nightly github action when no changes PiperOrigin-RevId: 583489094 --- .github/workflows/nightly.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index dd4a4b5fc8..9c93600e48 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -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: