Skip to content

docs: add path-filtered pull_request trigger examples to create-agentic-workflow.md#29052

Merged
pelikhan merged 2 commits intomainfrom
copilot/add-path-filtered-pr-trigger-example
Apr 29, 2026
Merged

docs: add path-filtered pull_request trigger examples to create-agentic-workflow.md#29052
pelikhan merged 2 commits intomainfrom
copilot/add-path-filtered-pr-trigger-example

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 29, 2026

The pull_request trigger supports paths and paths-ignore filtering but had no examples in the workflow creation guide — leaving backend/QA authors without guidance for scoping workflows to specific file changes.

Changes

  • New paths: example adjacent to the existing PR automation bullet, using realistic backend patterns (db/migrations/*.sql, schema/**, src/api/**)
  • New paths-ignore: example showing the inverse pattern (skip docs-only PRs)
  • Decision guidance on when to use paths: vs paths-ignore: vs neither
on:
  pull_request:
    types: [opened, synchronize]
    paths:
      - 'db/migrations/*.sql'
      - 'schema/**'
      - 'src/api/**'

…c-workflow.md

Agent-Logs-Url: https://github.com/github/gh-aw/sessions/990f5f37-ddd7-4d82-abf4-307e41ef2ab5

Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
Copilot AI changed the title [WIP] Add path-filtered pull_request trigger example to create-agentic-workflow.md docs: add path-filtered pull_request trigger examples to create-agentic-workflow.md Apr 29, 2026
Copilot AI requested a review from gh-aw-bot April 29, 2026 05:21
@pelikhan pelikhan marked this pull request as ready for review April 29, 2026 11:24
Copilot AI review requested due to automatic review settings April 29, 2026 11:24
@pelikhan pelikhan merged commit 5b8f6ef into main Apr 29, 2026
3 checks passed
@pelikhan pelikhan deleted the copilot/add-path-filtered-pr-trigger-example branch April 29, 2026 11:24
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds missing documentation examples for GitHub Actions pull_request path filtering in the agentic workflow creation guide, helping authors scope PR-triggered workflows to relevant file changes.

Changes:

  • Adds a paths: example for PR automation scoped to backend/QA-relevant file patterns
  • Adds a paths-ignore: example to skip docs-only PRs
  • Adds concise guidance on choosing paths: vs paths-ignore: vs no path filters
Show a summary per file
File Description
.github/aw/create-agentic-workflow.md Documents pull_request path filtering with examples and decision guidance for workflow authors

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 1/1 changed files
  • Comments generated: 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[plan] Add path-filtered pull_request trigger example to create-agentic-workflow.md

4 participants