Skip to content

fix: correct workflow paths and directory references#1891

Closed
Sertxito wants to merge 1 commit into
github:stagedfrom
Sertxito:pr-1792-upstreamstaged
Closed

fix: correct workflow paths and directory references#1891
Sertxito wants to merge 1 commit into
github:stagedfrom
Sertxito:pr-1792-upstreamstaged

Conversation

@Sertxito
Copy link
Copy Markdown
Contributor

@Sertxito Sertxito commented Jun 1, 2026

Changes

  • Fix learning-hub-updater path to website/src/content/docs/learning-hub
  • Remove prompts references and align resource scans to existing directories
  • Add missing plugins coverage in duplicate detection workflow guidance
  • Align duplicate-check workflow metadata, templates, and noop messaging

Scope

  • 4 workflow markdown files only

Notes

  • Target branch is staged, per repository contribution guidelines

- learning-hub-updater.md: Fix path from website/learning-hub to website/src/content/docs/learning-hub, wrap URLs in <>, remove trailing colons from section headings
- resource-staleness-report.md: Remove non-existent prompts/ directory, add workflows/ and plugins/, update guidelines and examples
- duplicate-resource-detector.md: Add missing plugins/ directory and reading instructions, update frontmatter description
- pr-duplicate-check.md: Add hooks and plugins to all directory lists, update frontmatter description and noop messages, expand template examples

All workflows now consistently scan: agents/, instructions/, skills/, hooks/, workflows/, and plugins/
Copilot AI review requested due to automatic review settings June 1, 2026 08:53
@Sertxito Sertxito requested a review from aaronpowell as a code owner June 1, 2026 08:53
@github-actions github-actions Bot added the workflow PR touches workflow automation label Jun 1, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Updates the repository’s workflow instruction documents to expand coverage beyond agents/instructions/skills, adding hooks, workflows, and plugins (and aligning the Learning Hub updater with the new website content path).

Changes:

  • Expanded “resource” definitions in staleness/duplicate workflows to include hooks, workflows, and plugins.
  • Updated PR duplicate-check guidance to detect duplicates across the expanded resource set.
  • Corrected Learning Hub content path references and normalized link formatting.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 8 comments.

File Description
.github/workflows/resource-staleness-report.md Adds hooks/workflows/plugins to the staleness audit scope and guidance
.github/workflows/pr-duplicate-check.md Extends PR duplicate detection instructions to include hooks and plugins
.github/workflows/learning-hub-updater.md Updates Learning Hub directory path and link formatting
.github/workflows/duplicate-resource-detector.md Expands weekly duplicate scan scope to include hooks/workflows/plugins

Comment on lines 34 to +42
- `agents/` (`.agent.md` files)
- `instructions/` (`.instructions.md` files)
- `skills/` (folders — the SKILL.md inside each folder is the resource)
- `hooks/` (folders — the README.md inside each folder is the resource)
- `workflows/` (`.md` files)
- `plugins/` (folders — the `.github/plugin/plugin.json` inside each folder is the resource)

If **no files** from these directories were modified, call `noop` with the message:
"No agent, instruction, skill, or workflow files were changed in this PR — no duplicate check needed."
"No agent, instruction, skill, hook, workflow, or plugin files were changed in this PR — no duplicate check needed."
Comment on lines 25 to +30
- `agents/` (`.agent.md` files)
- `prompts/` (`.prompt.md` files)
- `instructions/` (`.instructions.md` files)
- `hooks/` (folders — check the folder's files)
- `skills/` (folders — check the folder's files)
- `hooks/` (folders — check the folder's files)
- `workflows/` (`.md` files)
- `plugins/` (folders — check `.github/plugin/plugin.json` inside each)
```

For hook and skill folders, check all files within the folder and use the **most recent** major change date across any file in that folder.
For hook, skill, and plugin folders, check all files within the folder and use the **most recent** major change date across any file in that folder.
@@ -1,5 +1,5 @@
---
description: Weekly scan of agents, instructions, and skills to identify potential duplicate resources and report them for review
description: Weekly scan of agents, instructions, skills, hooks, and workflows to identify potential duplicate resources and report them for review
Comment on lines 28 to +33
- `agents/` (`.agent.md` files)
- `instructions/` (`.instructions.md` files)
- `skills/` (folders — check `SKILL.md` inside each)
- `hooks/` (folders — check `README.md` inside each)
- `workflows/` (`.md` files)
- `plugins/` (folders — check `.github/plugin/plugin.json` inside each)
- `skills/` (folders — the SKILL.md inside each folder is the resource)
- `hooks/` (folders — the README.md inside each folder is the resource)
- `workflows/` (`.md` files)
- `plugins/` (folders — the `.github/plugin/plugin.json` inside each folder is the resource)
- `skills/` (folders — read `SKILL.md` inside each)
- `hooks/` (folders — read `README.md` inside each)
- `workflows/` (`.md` files)
- `plugins/` (folders — read `.github/plugin/plugin.json` inside each)
- Limit the report to the top **5** most likely duplicate groups to keep feedback actionable.
- For skills, report by folder name (e.g., `skills/my-skill/`) using the description from `SKILL.md`.
- For hooks, report by folder name (e.g., `hooks/my-hook/`) using the description from `README.md`.
- For plugins, report by folder name (e.g., `plugins/my-plugin/`) using the description from `.github/plugin/plugin.json`.
@Sertxito Sertxito closed this Jun 1, 2026
@Sertxito Sertxito reopened this Jun 1, 2026
@Sertxito
Copy link
Copy Markdown
Contributor Author

Sertxito commented Jun 1, 2026

Context for reviewers: this PR updates repository workflow instructions only (.github/workflows/*.md) and does not add or onboard an external plugin. Plugin onboarding/intake follows the external-plugin issue workflow; this change is a normal repo contribution targeting staged.

@Sertxito Sertxito closed this Jun 1, 2026
@Sertxito Sertxito deleted the pr-1792-upstreamstaged branch June 1, 2026 10:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

workflow PR touches workflow automation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants