Skip to content

Conversation

SomeSolutionsArchitect
Copy link

Description

Frontmatter issue affecting all ide_rules/.github/instructions/*.instructions.md files

It turns out that the applyTo value must be single-quoted for multiple filepaths with the * character.

image

Solution

Fix copilot.py to add a single-quote before and after the {globs} variable.

Before

yaml_lines.append(f"applyTo: {globs}")

After

yaml_lines.append(f"applyTo: '{globs}'")

Tests

I tested it by uploading it to GitHub and making sure it renders properly now:
image

Then, I added the rules to a local repository (a fork of meme-driven.dev) and I can see the rules are being applied as expected:
image

@SomeSolutionsArchitect SomeSolutionsArchitect changed the base branch from main to develop October 22, 2025 01:42
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.

2 participants