Skip to content

[refactoring] skill: create shared/guard-otlp.md bundle for 19 workflows using github-guard-policy.md+otlp.md #47458

Description

@github-actions

Opportunity

19 workflows import both shared/github-guard-policy.md and shared/otlp.md together. A consolidated shared/guard-otlp.md bundle (mirroring the existing shared/reporting-otlp.md pattern) would reduce duplication.

Current Usage

19 workflows import both shared/github-guard-policy.md + shared/otlp.md:

  • auto-triage-issues.md
  • daily-agent-of-the-day-blog-writer.md
  • daily-doc-updater.md
  • daily-issues-report.md
  • discussion-task-miner.md
  • issue-arborist.md
  • issue-monster.md
  • issue-triage-agent.md
  • org-health-report.md
  • smoke-agent-public-approved.md
  • smoke-agent-scoped-approved.md
  • smoke-copilot-aoai-apikey.md
  • smoke-copilot-aoai-entra.md
  • smoke-copilot.md
  • stale-repo-identifier.md
  • weekly-blog-post-writer.md
  • weekly-issue-summary.md
  • weekly-safe-outputs-spec-review.md
  • workflow-generator.md

Proposed Component

shared/guard-otlp.md — following the same pattern as shared/reporting-otlp.md

---
# Guard + OTLP bundle
# Combines GitHub guard policy with OTLP observability configuration.
# Use this for workflows that interact with GitHub tools and need telemetry.

imports:
  - shared/github-guard-policy.md
  - shared/otlp.md
---

Impact

  • 19 workflows affected
  • High priority: 19 workflows, clear pattern, minimal extraction complexity
  • ~2 lines saved per workflow (~38 lines total)
  • Consistency with existing reporting-otlp.md pattern

Migration Plan

  1. Create shared/guard-otlp.md with the bundle content above
  2. For each of the 19 workflows, replace the two direct imports with shared/guard-otlp.md
  3. Run make recompile to verify no regressions

Example

# Before
imports:
  - shared/github-guard-policy.md
  - shared/otlp.md

# After
imports:
  - shared/guard-otlp.md

Generated by 🔍 Workflow Skill Extractor · sonnet46 41.6 AIC · ⌖ 8.54 AIC · ⊞ 4.8K ·

  • expires on Jul 24, 2026, 8:48 PM UTC-08:00

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions