Skip to content

change update versions workflow to a cron job #2402

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 9, 2025

Conversation

lanzafame
Copy link
Collaborator

  • remove pull request trigger
  • set cron job to random time to avoid being dropped by github if midnight has too many scheduled jobs

remove  pull request trigger
set cron job to random time to avoid being dropped by github if midnight
has too many scheduled jobs
@lanzafame lanzafame requested a review from Copilot July 9, 2025 01:06
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Updates the “Update Lotus Version” GitHub Actions workflow to run on a scheduled cron job instead of on pull requests.

  • Removed the pull_request trigger to stop automatic runs on new PRs
  • Added a cron schedule to run every two days at 03:47 UTC
  • Retained workflow_dispatch for manual runs
Comments suppressed due to low confidence (1)

.github/workflows/update-versions.yml:6

  • Using */2 in the day-of-month field doesn’t guarantee exact 48-hour intervals across month boundaries (e.g., from Jan 31 → Feb 1). If you require strict 2-day spacing, consider an alternative schedule or a daily run with conditional logic.
    - cron: '47 3 */2 * *'

@lanzafame lanzafame merged commit 6486808 into main Jul 9, 2025
1 check failed
@lanzafame lanzafame deleted the fix/update-versions-cron branch July 9, 2025 01:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant