Remove hourly cron and skipped job from nightly workflow (#817)

Every merge to main already triggers a nightly build, making the hourly
cron redundant. The skipped job was cosmetic (just echoed a message) and
caused confusing red X statuses when cancel-in-progress kicked in.
This commit is contained in:
Lawrence Chen 2026-03-03 15:42:09 -08:00 committed by GitHub
parent 5d463af122
commit 4af2e6be30
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3,9 +3,6 @@ name: Nightly macOS build
on:
push:
branches: [main]
schedule:
# Every hour at :30. The 'decide' job skips if main has no new commits.
- cron: "30 * * * *"
workflow_dispatch:
inputs:
force:
@ -367,12 +364,3 @@ jobs:
run: |
security delete-keychain build.keychain >/dev/null 2>&1 || true
rm -f /tmp/cert.p12
skipped:
needs: decide
if: needs.decide.outputs.should_build != 'true'
runs-on: ubuntu-latest
steps:
- name: No nightly build needed
run: |
echo "No changes on main since last nightly tag; skipping build."