Skip to content

[q] Change layout-spec-maintainer from daily to weekly schedule #14946

@github-actions

Description

@github-actions

Q Workflow Optimization Report

Context

This change was requested via /q make weekly comment on issue #14913. The Layout Specification Maintainer workflow was running daily on weekdays but only needs to run weekly to keep the specification current while reducing unnecessary executions.

Changes Made

.github/workflows/layout-spec-maintainer.md

  • Schedule change: From 0 7 * * 1-5 (weekdays at 7am UTC) to 0 7 * * 1 (Mondays at 7am UTC)
  • Description update: Updated schedule comment to reflect weekly frequency
  • Impact: Reduces workflow executions from 5x per week to 1x per week

Expected Improvements

  • Reduced workflow runs: 80% reduction in executions (from 5 to 1 per week)
  • Lower resource usage: Fewer GitHub Actions minutes consumed
  • Still effective: Weekly updates are sufficient for tracking layout specification changes
  • Consistent pattern: Aligns with other weekly maintenance workflows like weekly-issue-summary

Validation

✅ Workflow compiled successfully using ./gh-aw compile layout-spec-maintainer

  • Compilation status: Success
  • Warnings: 1 (suggestion to use fuzzy schedule - acceptable for this use case)
  • Errors: 0

The .lock.yml file will be automatically generated after merge via the compilation workflow.

References


Optimized by Q - Agentic Workflow Optimizer

AI generated by Q

  • expires on Feb 13, 2026, 12:36 PM UTC

Note

This was originally intended as a pull request, but the git push operation failed.

Workflow Run: View run details and download patch artifact

The patch file is available in the agent-artifacts artifact in the workflow run linked above.

To apply the patch locally:

# Download the artifact from the workflow run https://github.com/github/gh-aw/actions/runs/21905117448
# (Use GitHub MCP tools if gh CLI is not available)
gh run download 21905117448 -n agent-artifacts

# The patch file will be at agent-artifacts/tmp/gh-aw/aw.patch after download
# Apply the patch
git am agent-artifacts/tmp/gh-aw/aw.patch
Show patch (32 lines)
From 3aadec2c91be0881bb95e58ff996f139019c16ae Mon Sep 17 00:00:00 2001
From: "github-actions[bot]" <github-actions[bot]@users.noreply.github.com>
Date: Wed, 11 Feb 2026 12:34:01 +0000
Subject: [PATCH] chore: change layout-spec-maintainer from daily to weekly
 schedule

- Change schedule from daily (weekdays at 7am) to weekly (Mondays at 7am)
- Workflow will now run once per week instead of 5 times per week
- Reduces maintenance overhead while keeping specs up-to-date
---
 .github/workflows/layout-spec-maintainer.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/layout-spec-maintainer.md b/.github/workflows/layout-spec-maintainer.md
index 1dad3f9..381d9b3 100644
--- a/.github/workflows/layout-spec-maintainer.md
+++ b/.github/workflows/layout-spec-maintainer.md
@@ -3,8 +3,8 @@ name: Layout Specification Maintainer
 description: Maintains scratchpad/layout.md with patterns of file paths, folder names, and artifact names used in lock.yml files
 on:
   schedule:
-    # Daily at 7am UTC on weekdays only
-    - cron: "0 7 * * 1-5"
+    # Weekly on Mondays at 7am UTC
+    - cron: "0 7 * * 1"
   workflow_dispatch:
 
 # Minimal permissions: only what's needed for the workflow
-- 
2.52.0

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions