Skip to content

Add manual execution and daily cron schedule for MOTD generation#249

Merged
igorpecovnik merged 1 commit into
mainfrom
motdd
Mar 6, 2026
Merged

Add manual execution and daily cron schedule for MOTD generation#249
igorpecovnik merged 1 commit into
mainfrom
motdd

Conversation

@igorpecovnik
Copy link
Copy Markdown
Member

Summary

  • Add workflow_dispatch trigger for manual execution via GitHub Actions UI
  • Add schedule trigger to run workflow daily at 4 AM UTC

Changes

  • workflow_dispatch: Enables manual execution of the MOTD generation workflow from the GitHub Actions tab
  • schedule: Automated daily execution at 4 AM UTC using cron syntax 0 4 * * *

Benefits

  • Allows on-demand MOTD updates when needed (e.g., urgent messages, special announcements)
  • Ensures MOTD is automatically refreshed daily with the latest messages
  • Combines flexibility of manual triggers with convenience of automation

Test plan

  • Verify workflow appears in GitHub Actions UI for manual execution
  • Test manual execution via workflow_dispatch
  • Verify cron schedule runs at 4 AM UTC (check next day)

- Add workflow_dispatch for manual execution via GitHub Actions UI
- Add cron schedule to run daily at 4 AM UTC
- Enables both automated daily updates and on-demand manual triggers
@github-actions github-actions Bot added 05 Milestone: Second quarter release size/small PR with less then 50 lines GitHub Actions GitHub Actions code Needs review Seeking for review labels Mar 6, 2026
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Mar 6, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: af846de2-35fb-4d56-871e-da3f083b24b9

📥 Commits

Reviewing files that changed from the base of the PR and between 953558e and ba9b0b6.

📒 Files selected for processing (1)
  • .github/workflows/generate-motd.yaml

Disabled knowledge base sources:

  • Jira integration is disabled

You can enable these sources in your CodeRabbit configuration.


Walkthrough

The pull request modifies the GitHub Actions workflow configuration file to expand trigger mechanisms. Two new events are added to the workflow: workflow_dispatch (for manual triggering) and schedule (for automated daily execution at 4:00 UTC). The existing repository_dispatch trigger is preserved unchanged. The concurrency configuration remains intact. The net result is three lines added with no deletions, enabling the workflow to activate through multiple invocation methods.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch motdd

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@igorpecovnik igorpecovnik merged commit de798d6 into main Mar 6, 2026
4 of 5 checks passed
@igorpecovnik igorpecovnik deleted the motdd branch March 6, 2026 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

05 Milestone: Second quarter release GitHub Actions GitHub Actions code Needs review Seeking for review size/small PR with less then 50 lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant