Skip to content

Skip CI for .md file changes in .agents dir#1367

Merged
nathanjmcdougall merged 4 commits intomainfrom
copilot/skip-ci-for-agents-dir
Mar 11, 2026
Merged

Skip CI for .md file changes in .agents dir#1367
nathanjmcdougall merged 4 commits intomainfrom
copilot/skip-ci-for-agents-dir

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 11, 2026

  • Add .agents/**/*.md to paths-ignore in all workflow files
  • Remove redundant .agents/**/*.md from zizmor.yml and codeql.yml (already covered by **/*.md)
Original prompt

This section details on the original issue you should resolve

<issue_title>Skip CI for changes to .agents dir</issue_title>
<issue_description>There's no need to trigger any GitHub actions workflows for changes which only modify .md files in the .agents dir.</issue_description>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: nathanjmcdougall <18602289+nathanjmcdougall@users.noreply.github.com>
Copilot AI changed the title [WIP] Skip CI for changes to .agents directory Skip CI for changes to .agents dir Mar 11, 2026
@nathanjmcdougall
Copy link
Copy Markdown
Collaborator

@copilot this ignores all changes to the .agents dir, but it should ignore only changes to .md markdown suffix files in the .agents dir.

We would still want to trigger CI if other files are included like .py files etc.

Co-authored-by: nathanjmcdougall <18602289+nathanjmcdougall@users.noreply.github.com>
Copy link
Copy Markdown
Contributor Author

Copilot AI commented Mar 11, 2026

@copilot this ignores all changes to the .agents dir, but it should ignore only changes to .md markdown suffix files in the .agents dir.

We would still want to trigger CI if...

Updated in a19a69c — changed .agents/** to .agents/**/*.md in all workflow files so CI is only skipped for markdown file changes in .agents/, not for other file types like .py.

Copilot AI changed the title Skip CI for changes to .agents dir Skip CI for .md file changes in .agents dir Mar 11, 2026
@codspeed-hq
Copy link
Copy Markdown

codspeed-hq bot commented Mar 11, 2026

Merging this PR will not alter performance

✅ 2 untouched benchmarks


Comparing copilot/skip-ci-for-agents-dir (8494998) with main (b5e34e6)

Open in CodSpeed

Co-authored-by: nathanjmcdougall <18602289+nathanjmcdougall@users.noreply.github.com>
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 11, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

@nathanjmcdougall nathanjmcdougall marked this pull request as ready for review March 11, 2026 03:52
@nathanjmcdougall nathanjmcdougall merged commit e21c051 into main Mar 11, 2026
20 checks passed
@nathanjmcdougall nathanjmcdougall deleted the copilot/skip-ci-for-agents-dir branch March 11, 2026 03:53
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.

Skip CI for changes to .agents dir

2 participants