Skip to content

[refactoring] [skill] Create shared/guard-otlp.md bundle for 7 workflows using github-guard-policy + otlp only #42895

Description

@github-actions

Overview

7 workflows import exactly shared/github-guard-policy.md + shared/otlp.md with no other shared components. Following the pattern of shared/reporting-otlp.md, a new shared/guard-otlp.md bundle would let these workflows collapse two imports into one — and ensure new guard-requiring workflows always include telemetry.

Additionally, 8 more workflows use guard + reporting + otlp; these could migrate to guard + reporting-otlp.md (2 imports instead of 3).

Priority

Medium — 15 workflows affected, very low extraction complexity

Affected Workflows

Exact (guard + otlp) — 7 workflows:

  • daily-doc-updater.md
  • smoke-agent-public-approved.md
  • smoke-agent-scoped-approved.md
  • stale-repo-identifier.md
  • weekly-blog-post-writer.md
  • weekly-safe-outputs-spec-review.md
  • workflow-generator.md

Can use guard + reporting-otlp.md — 8 workflows:

  • auto-triage-issues.md
  • discussion-task-miner.md
  • issue-arborist.md
  • issue-triage-agent.md
  • org-health-report.md
  • smoke-copilot-aoai-apikey.md
  • smoke-copilot-aoai-entra.md
  • smoke-copilot.md

Estimated Impact

  • 7 workflows reduced from 2 imports to 1
  • 8 workflows reduced from 3 imports to 2
  • Total: 15 import lines removed
  • Ensures every guard-policy workflow is auto-enrolled in OTLP telemetry

Proposed Shared Component

Create .github/workflows/shared/guard-otlp.md:

---
# GitHub guard policy + OTLP telemetry bundle
# Use for workflows that need community-contributor approval labels AND telemetry.
#
# Usage:
#   imports:
#     - shared/guard-otlp.md

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

Migration Plan

  1. Create shared/guard-otlp.md with the content above.
  2. In the 7 exact-match workflows, replace:
    imports:
      - shared/github-guard-policy.md
      - shared/otlp.md
    with:
    imports:
      - shared/guard-otlp.md
  3. In the 8 guard+reporting+otlp workflows, replace:
    imports:
      - shared/github-guard-policy.md
      - shared/reporting.md
      - shared/otlp.md
    with:
    imports:
      - shared/github-guard-policy.md
      - shared/reporting-otlp.md
  4. Run make recompile and verify compiled output.

Example Usage

imports:
  - shared/guard-otlp.md
  # other workflow-specific imports

References

  • Pattern precedent: .github/workflows/shared/reporting-otlp.md
  • Guard policy source: .github/workflows/shared/github-guard-policy.md
  • OTLP source: .github/workflows/shared/otlp.md

Warning

Firewall blocked 1 domain

The following domain was blocked by the firewall during workflow execution:

  • awmgmcpg

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "awmgmcpg"

See Network Configuration for more information.

Generated by 🔍 Workflow Skill Extractor · 63.8 AIC · ⌖ 11.6 AIC · ⊞ 4.7K ·

  • expires on Jul 3, 2026, 9:03 PM UTC-08:00

Metadata

Metadata

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions