📊 Agentic Workflow Lock File Statistics - 2025-11-05 #3212
Closed
Replies: 1 comment
-
|
This discussion was automatically closed because it was created by an agentic workflow more than 1 week 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 - 2025-11-05
This report provides comprehensive statistical analysis of all
.lock.ymlfiles in thegithubnext/gh-awrepository, revealing patterns in workflow structure, safe outputs, permissions, and resource usage.Executive Summary
Full Report Details
File Size Distribution
Size Statistics:
opencode.lock.yml(23 KB)poem-bot.lock.yml(379 KB)Trigger Analysis
Trigger Type Distribution
scheduleissuesissue_commentpull_requestpushworkflow_dispatchSafe Outputs Analysis
Safe Output Types Distribution
create-discussioncreate-pull-requestadd-commentcreate-issueupdate-issuecreate-pull-request-review-commentKey Insights:
create-discussionis the most common safe output (25 workflows, 43.9%)create-discussion,create-issue,create-pull-request) dominate over update actionsSafe Output Combinations
Workflows often use multiple safe output types together:
create-discussioncreate-issuecreate-pull-requestadd-commentadd-comment,create-pull-requestadd-comment,create-issueadd-comment,create-discussion,create-pull-requestadd-comment,create-issue,create-pull-requestcreate-discussion,create-pull-requestadd-comment,create-discussion,create-issue,create-pull-request,create-pull-request-review-comment,update-issueStructural Characteristics
Job and Step Complexity
Average Lock File Profile
Based on statistical analysis across all 71 lock files, a typical agentic workflow has:
contents,issues,pull-requestscreate-discussionoradd-commentactionPermission Patterns
Most Common Permissions
contentspull-requestsissuesactionsdiscussionssecurity-eventsrepository-projectsattestationschecksdeploymentsPermission Security Analysis
Read-Only Dominance:
Write Permissions (rare, only for safe output actions):
Security Posture: ✅ Excellent - overwhelming majority use minimal, read-only permissions
Timeout Configuration
Timeout Distribution
Timeout Statistics:
Insight: Most workflows use conservative timeouts (10-20 minutes), balancing resource usage with reliability.
Interesting Findings
1. Consistent Architecture
All lock files follow a remarkably consistent structure with ~4 jobs and ~60 steps on average, suggesting strong architectural patterns and workflow standardization.
2. Safe Output Strategy Diversity
While
create-discussionis most popular (25 workflows), there's healthy diversity:3. Minimal Permission Model
The repository exemplifies security best practices with 100% read-only base permissions. Write access is exclusively granted through safe output actions, demonstrating defense-in-depth.
4. Size Consistency
85% of lock files fall between 100-300 KB, indicating standardized tooling and consistent functionality across workflows.
5. Shared Workflow Library
The presence of
shared/directory workflows (arxiv.lock.yml, context7.lock.yml, opencode.lock.yml) at ~23-82 KB suggests reusable components, though these are notably smaller than main workflows.Workflow Categories by Purpose
Based on naming patterns and safe outputs:
create-discussion,create-pull-requestcreate-issue,create-discussioncreate-issuecreate-pull-requestadd-commentcreate-discussionMethodology
/tmp/gh-aw/cache-memory/for script persistence.github/workflows/**/*.lock.ymlanalyze_lockfiles.py: Data extraction and parsinggenerate_report.py: Statistical analysis and report generationGenerated by Lockfile Statistics Analysis Agent on 2025-11-05 at 03:28 UTC
Repository: githubnext/gh-aw
Beta Was this translation helpful? Give feedback.
All reactions