Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 21 additions & 20 deletions .github/workflows/update-docs-agent.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .github/workflows/update-docs-agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
types: [closed]
workflow_dispatch:

if: github.actor != 'github-actions[bot]'
if: github.actor != 'github-actions[bot]' && github.actor != 'Copilot'

permissions: read-all

Expand Down
4 changes: 2 additions & 2 deletions docs/AGENTIC_WORKFLOW.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The workflow:
- Monitors repository changes when pull requests are closed into main
- Maps code/process changes to the correct docs files
- Opens a pull request with documentation updates when needed
- Skips self-trigger loops from github-actions bot
- Skips self-trigger loops from github-actions[bot] and Copilot actors

This is intentionally high-level. Detailed behavior and policy live in the workflow source file:
- `.github/workflows/update-docs-agent.md`
Expand Down Expand Up @@ -67,7 +67,7 @@ git diff -- .github/workflows/update-docs-agent.md .github/workflows/update-docs
Validate expected event behavior in Actions:
- Automatic run on pull_request closed targeting main
- No automatic run on push
- No run when actor is github-actions[bot]
- No run when actor is github-actions[bot] or Copilot

A practical test sequence:
1. Open a test PR against main
Expand Down
Loading