📊 Agentic Workflow Lock File Statistics - 2026-02-07 #14315
Closed
Replies: 1 comment
-
|
This discussion was automatically closed because it expired on 2026-02-14T08:27:32.149Z.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Executive Summary
This analysis examines all
.lock.ymlfiles in the.github/workflows/directory to identify usage patterns, popular triggers, safe outputs, structural characteristics, and other key metrics that define how agentic workflows are configured in this repository.File Size Distribution
Size Statistics
codex-github-remote-mcp-test.lock.yml(22 KB)smoke-claude.lock.yml(106 KB)Key Finding: The vast majority (88%) of lock files fall within a consistent 50-100 KB range, indicating standardized workflow complexity across the repository.
Trigger Analysis
Most Popular Triggers
workflow_dispatchscheduleissue_commentpull_requestissuespull_request_review_commentdiscussion_commentdiscussionworkflow_runpushKey Findings:
workflow_dispatchCommon Trigger Combinations
Most workflows use both
workflow_dispatchANDschedule, providing flexibility for both automated execution and on-demand triggering.View Schedule Patterns
Most Common Cron Schedules
0 14 * * 1-5(4 workflows) - 2 PM UTC, weekdays0 13 * * 1-5(4 workflows) - 1 PM UTC, weekdays0 11 * * 1-5(4 workflows) - 11 AM UTC, weekdays0 9 * * 1-5(3 workflows) - 9 AM UTC, weekdaysPattern: Most scheduled workflows run during business hours (9 AM - 6 PM UTC) on weekdays, with particular concentration around midday hours.
Safe Outputs Analysis
Safe outputs are the primary mechanism for workflows to create GitHub resources (issues, discussions, PRs) in a controlled manner.
Safe Output Types Distribution
noopmissing_toolmissing_datacreate_discussioncreate_issueadd_commentcreate_pull_requestupload_assetadd_labelsclose_discussionpush_to_pull_request_branchupdate_issuecreate_pull_request_review_commentKey Findings:
noop,missing_tool,missing_data)Safe Output Combinations
Workflows commonly combine multiple safe output types:
create_discussion+noop+missing_tool+missing_datacreate_issue+add_comment+add_labelscreate_pull_request+push_to_pull_request_branchStructural Characteristics
Job Complexity
scout.lock.yml)Distribution: Most workflows have 4-10 jobs, following a standard pattern of:
Step Complexity
daily-copilot-token-report.lock.yml)Key Finding: High step count indicates comprehensive workflow scaffolding with extensive setup, security controls, and cleanup procedures.
Average Lock File Structure
Based on statistical analysis, a typical
.lock.ymlfile has:workflow_dispatch+schedulePermission Patterns
Most Common Permissions
contentsissuesdiscussionspull-requestsactionssecurity-eventsKey Findings:
contentsis mostly read-only (90%), showing workflows avoid unnecessary write accessPermission Distribution
Tool & MCP Patterns
MCP Server Usage
Key Finding: Nearly universal adoption of the GitHub MCP server for GitHub API operations, with safe outputs server providing controlled resource creation.
Infrastructure Patterns
ubuntu-slimfor cost efficiencyghcr.io/github/gh-aw-mcpg)Interesting Findings
1. Standardized Workflow Pattern
There's remarkable consistency in workflow structure:
activation,agent,safe_outputs,conclusionThis indicates well-established patterns and potentially code generation from templates.
2. Manual Override Priority
88% of workflows support
workflow_dispatch, even scheduled ones. This shows:3. Discussion-First Culture
Workflows create discussions (40%) more than issues (26%), suggesting:
4. Heavy Automation Schedule
106 scheduled workflows (72%) with concentration during business hours indicates:
5. Comprehensive Error Handling
95%+ of workflows include
noop,missing_tool, andmissing_datasafe outputs, showing:6. Security-First Design
This demonstrates security is architected into the workflow design, not added as an afterthought.
Recommendations
1. Workflow Consolidation Opportunities
With 147 workflows and high consistency, consider:
2. Schedule Optimization
3. Size Monitoring
smoke-claude.lock.yml,smoke-copilot.lock.yml)4. Permission Audit
contents:writeto ensure necessity5. Documentation Patterns
Methodology
.github/workflows//tmp/gh-aw/cache-memory/for reuse.lock.ymlfilesAnalysis Files Generated
All analysis data has been preserved in
/tmp/gh-aw/agent/:file_sizes.csv- File size datatrigger_counts.txt- Trigger frequencysafe_output_tools.txt- Safe output usagejob_permissions.txt- Permission patternsschedules.txt- Cron schedulesjobs_stats.txt- Job statisticsstep_stats.txt- Step statisticsHistorical data stored in
/tmp/gh-aw/cache-memory/history/2026-02-07.jsonfor trend analysis.References:
Beta Was this translation helpful? Give feedback.
All reactions