summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorKenneth Lien <kenneth@anthropic.com>2026-03-23 20:07:40 -0700
committerKenneth Lien <kenneth@anthropic.com>2026-03-23 20:07:40 -0700
commit0f8c170fa7793f9a2947880da73de538bfe45bbf (patch)
treebf1c39b12801f974e155e6fdd6fa8d6713dda9b1 /.github
parent6d0053f69e717a8d960d8e2e4ba55878473aa2d3 (diff)
parent15268f03d2f560b955584a283927ed175569678c (diff)
Merge remote-tracking branch 'origin/main' into add-imessage-channel
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/validate-frontmatter.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/validate-frontmatter.yml b/.github/workflows/validate-frontmatter.yml
index 148364d4..9de76f70 100644
--- a/.github/workflows/validate-frontmatter.yml
+++ b/.github/workflows/validate-frontmatter.yml
@@ -21,7 +21,8 @@ jobs:
- name: Get changed frontmatter files
id: changed
run: |
- FILES=$(gh pr diff ${{ github.event.pull_request.number }} --name-only | grep -E '(agents/.*\.md|skills/.*/SKILL\.md|commands/.*\.md)$' || true)
+ # Use diff-filter=AMRC to exclude deleted files (D) - only Added, Modified, Renamed, Copied
+ FILES=$(gh pr diff ${{ github.event.pull_request.number }} --name-only --diff-filter=AMRC | grep -E '(agents/.*\.md|skills/.*/SKILL\.md|commands/.*\.md)$' || true)
echo "files<<EOF" >> "$GITHUB_OUTPUT"
echo "$FILES" >> "$GITHUB_OUTPUT"
echo "EOF" >> "$GITHUB_OUTPUT"