Skip to content

Fix sync workflow: exclude README.md from diff comparison#3

Open
ilonatommy wants to merge 2 commits intomasterfrom
fix-sync-diff-readme
Open

Fix sync workflow: exclude README.md from diff comparison#3
ilonatommy wants to merge 2 commits intomasterfrom
fix-sync-diff-readme

Conversation

@ilonatommy
Copy link
Owner

The sync workflow's diff -rq always detects changes because runtime-skills/README.md (with sync metadata like "Last synced" timestamp) exists locally but not in upstream's .github/skills/ directory. This causes a PR to be created on every run, even when no actual skill content has changed.

Fix: Add --exclude='README.md' to the diff command so only actual skill file changes trigger a PR.

Fixes #2

ilonatommy and others added 2 commits February 16, 2026 10:51
README.md is generated locally with sync metadata (timestamp, commit SHA)
and doesn't exist upstream, causing diff to always detect changes.
Adding --exclude='README.md' ensures PRs are only created when actual
skill content has changed.

Fixes #2
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.

Fix sync workflow: exclude README.md from diff comparison

1 participant