Skip to content

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

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

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

Conversation

Copilot AI commented Mar 11, 2026

Copy link
Copy Markdown
Contributor
  • 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>

Copilot AI commented Mar 11, 2026

Copy link
Copy Markdown
Contributor Author

@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

codspeed-hq Bot commented Mar 11, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 2 untouched benchmarks


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

Open in CodSpeed

Comment thread .github/workflows/zizmor.yml Outdated
Co-authored-by: nathanjmcdougall <18602289+nathanjmcdougall@users.noreply.github.com>
@codecov

codecov Bot commented Mar 11, 2026

Copy link
Copy Markdown

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