Skip to content

RDKEMW-16338: Create Agents for documentation in entservices repos - #33

Merged
srikanth-vv merged 1 commit into
developfrom
topic/RDKEMW-16338-agent
May 8, 2026
Merged

RDKEMW-16338: Create Agents for documentation in entservices repos#33
srikanth-vv merged 1 commit into
developfrom
topic/RDKEMW-16338-agent

Conversation

@melhar098

Copy link
Copy Markdown
Contributor

Reason for change: add workflow and agent to automatically update documentation
Test Procedure: see ticket
Risks: None
Priority: P2

Copilot AI review requested due to automatic review settings May 8, 2026 20:13
@melhar098
melhar098 requested a review from a team as a code owner May 8, 2026 20:13

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a “doc-guardian” automation that evaluates a target PR for documentation impact and, when needed, opens a tracking issue that triggers a custom Copilot agent to generate/update documentation and raise a follow-on docs PR.

Changes:

  • Introduces a manually triggered GitHub Actions workflow to analyze PR file changes and create/dedupe a Doc-Guardian issue for Copilot.
  • Adds a custom doc-guardian agent definition with an operating procedure for detecting doc gaps, updating docs, and creating a docs PR.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
.github/workflows/doc-guardian.yml New workflow to evaluate PR changes for doc impact, create/dedupe a tracking issue, and assign it to the Copilot agent.
.github/agents/doc-guardian.agent.md New custom agent instructions for generating/verifying documentation and opening a documentation PR.

Comment on lines +11 to +14
permissions:
contents: read
pull-requests: write
issues: write
Comment on lines +115 to +120
existing="$(gh issue list \
--repo "$REPO" \
--state open \
--search "[Doc-Guardian] in:title PR #$PR_NUMBER" \
--json number \
--jq '.[0].number // empty')"
Comment on lines +123 to +126
git config --global user.email "copilot@github.com"
git config --global user.name "Copilot Agent"
git remote set-url origin "https://x-access-token:$TOKEN@github.com/${GITHUB_REPOSITORY}.git"
git push origin "$CURRENT_BRANCH"
Reason for change: add workflow and agent to automatically update documentation
Test Procedure: see ticket
Risks: None
Priority: P2

Signed-off-by: melhar098_comcast <Mahmoud_El-haron@comcast.com>
@melhar098
melhar098 force-pushed the topic/RDKEMW-16338-agent branch from 8dab55d to c234d42 Compare May 8, 2026 20:25
@srikanth-vv
srikanth-vv merged commit c09a776 into develop May 8, 2026
11 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators May 8, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants