Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 21, 2025

Replace verbose schedule syntax with the shorter on: daily form in README and documentation examples.

Changes

  • README.md: Changed example from on: schedule: - cron: "0 6 * * *" to on: daily
  • daily-issues-report.md: Simplified from explicit schedule + workflow_dispatch to on: daily (compiler auto-adds workflow_dispatch)
  • docs/examples/scheduled.md: Added "Recommended: Short fuzzy syntax" section showing on: daily, on: weekly, etc. before traditional cron examples

Example

Before:

on:
  schedule:
    - cron: "0 6 * * *"
  workflow_dispatch:

After:

on: daily

Compiler expands to scattered cron time (e.g., 10 16 * * *) with workflow_dispatch, distributing load across workflows.

Original prompt

Simplify the daily issue report to use the short on syntax

From

on:
schedule:
- cron: "0 6 * * *"

To

on: daily

  • Update readme, also remove new line
  • add to docs index.mdx

Custom agent used: technical-doc-writer
AI technical documentation writer for GitHub Actions library using Astro Starlight and GitHub Docs voice


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 2 commits December 21, 2025 16:18
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Simplify daily issue report to use short on syntax Simplify daily schedule syntax to on: daily Dec 21, 2025
Copilot AI requested a review from pelikhan December 21, 2025 16:28
@pelikhan pelikhan marked this pull request as ready for review December 21, 2025 16:33
@pelikhan pelikhan merged commit c2584af into main Dec 21, 2025
4 checks passed
@pelikhan pelikhan deleted the copilot/simplify-daily-issue-report branch December 21, 2025 16:33
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.

2 participants