📊 Agentic Workflow Lock File Statistics - November 29, 2025 #5059
Closed
Replies: 1 comment
-
|
This discussion was automatically closed because it was created by an agentic workflow more than 3 days ago. |
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.
-
📊 Agentic Workflow Lock File Statistics - November 29, 2025
This analysis examines all 96
.lock.ymlfiles in the.github/workflows/directory to understand usage patterns, structural characteristics, and configuration trends across agentic workflows in this repository.Overview: Key Findings
The repository contains 96 agentic workflow lock files totaling 28 MB, with an average file size of 292 KB. The workflows primarily use scheduled execution (59%) combined with manual triggers (78%), and overwhelmingly rely on the GitHub MCP server (94 workflows). Safe outputs favor create-discussion (32 workflows) for reporting results to the "audits" category (28 workflows). Most workflows request contents, issues, and pull-requests permissions, averaging 7 jobs and 62 steps per workflow.
Complete Statistical Analysis
Executive Summary
File Size Distribution
The majority of workflows are substantial, with 88 of 96 files (92%) being over 200 KB in size.
Statistics:
Trigger Analysis
Most Popular Triggers
The workflows use various trigger types, with manual triggering being most common:
Common Trigger Combinations
Most workflows combine scheduled and manual triggers for flexibility:
Schedule Patterns
Among the 57 scheduled workflows, the most common cron patterns are:
0 9 * * *0 0,6,12,18 * * *0 14 * * 1-50 8 * * *0 13 * * 1-50 11 * * 1-50 10 * * 1-50 0 * * *0 9 * * 10 6 * * 0Insights:
Safe Outputs Analysis
Safe outputs control what artifacts workflows can create, ensuring controlled interaction with GitHub.
Safe Output Types Distribution
Key Finding: create-discussion is the preferred safe output (33% of workflows), indicating a pattern of using GitHub Discussions for audit reports and status updates rather than issues.
Discussion Categories
Among workflows that create discussions, category usage is:
87.5% of discussions go to the "audits" category, establishing it as the standard location for workflow-generated reports.
Safe Output Patterns
Common safe output combinations:
Structural Characteristics
Job Complexity
Analysis: Workflows are moderately complex with multiple jobs handling different aspects of analysis, data collection, and output generation.
Typical Lock File Structure
Based on statistical analysis, a typical
.lock.ymlfile has:Permission Patterns
Workflows request specific GitHub API permissions for their operations.
Most Common Permissions
Permission Distribution Insights
contentspermission (repository read access)issuesand 83% needpull-requestspermissionsdiscussionspermission (may inherit from broader scopes)Tool & MCP Patterns
Most Used MCP Servers
Key Finding: The GitHub MCP server is virtually universal (98% of workflows), reflecting the repository-centric nature of these agentic workflows.
Tool Usage Patterns
Common tool allowlists (inferred from patterns):
Interesting Findings
1. Discussion-First Culture
The strong preference for
create-discussion(32 workflows, 33%) overcreate-issue(12 workflows, 13%) suggests a deliberate pattern: workflows report findings to Discussions rather than cluttering Issues. The "audits" category serves as a structured knowledge base.2. Hybrid Automation Strategy
52 workflows (54%) use both
scheduleandworkflow_dispatchtriggers, enabling:3. Consistency in Structure
The tight clustering around 200-400 KB file sizes and similar job counts suggests workflows follow established patterns from templates or shared configurations. This consistency:
4. GitHub-Centric Architecture
With 94 of 96 workflows (98%) using the GitHub MCP server, these agentic workflows are deeply integrated with GitHub's ecosystem. Only 5 workflows extend beyond GitHub APIs (using Playwright, arXiv, etc.).
5. Moderate Complexity Sweet Spot
At 62 steps per workflow on average, these workflows balance:
6. Weekday-Focused Scheduling
Many workflows run on weekdays only (
* * 1-5patterns), suggesting:Recommendations
Based on this analysis, here are recommendations for workflow authors:
1. Follow the Discussion Pattern
For audit-style reports, use
create-discussionwith category "audits" rather than creating issues. This keeps Issues focused on actionable work items.2. Standard Trigger Combination
For most workflows, use:
schedule + workflow_dispatchto enable both automated execution and manual testing.3. Permission Minimization
Request only necessary permissions. The common pattern is:
4. Optimal Scheduling
5. Size Management
If your lock file exceeds 400 KB, consider:
6. Leverage GitHub MCP Server
The GitHub MCP server (mcp__github__) provides comprehensive GitHub API access. Use it as the primary integration point rather than raw API calls.
Historical Trends
Note: This is the first comprehensive analysis. Future runs will track trends in:
Methodology
Data Collection
.github/workflows/*.lock.ymland.github/workflows/*/*.lock.ymlAnalysis Approach
.lock.ymlfilesCache Memory Usage
Analysis scripts and intermediate data stored in
/tmp/gh-aw/cache-memory/for:Limitations
Repository Snapshot
Key Takeaway: This repository demonstrates a mature agentic workflow ecosystem with consistent patterns, GitHub-centric architecture, and a discussion-first approach to reporting. The 96 workflows represent approximately 1.8 MB of human-written workflow definitions that expand to 28 MB of locked configurations, showcasing the complexity hidden behind simple workflow files.
Generated by Lockfile Statistics Analysis Agent on 2025-11-29
Beta Was this translation helpful? Give feedback.
All reactions