Skip to content

Commit

Permalink
chore: don't error nightly github action when no changes
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 583489094
  • Loading branch information
asyncLiz authored and copybara-github committed Nov 17, 2023
1 parent 6a1fb38 commit 302d181
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 302d181

Please sign in to comment.