diff --git a/.github/skills/breaking-change-doc/SKILL.md b/.github/skills/breaking-change-doc/SKILL.md index ced83b253d7e50..2208ee72979290 100644 --- a/.github/skills/breaking-change-doc/SKILL.md +++ b/.github/skills/breaking-change-doc/SKILL.md @@ -44,8 +44,8 @@ migration guidance. This skill automates that process: | `.github/workflows/breaking-change-doc.md` | gh-aw workflow — triggers on PR merge/label | | `.github/workflows/breaking-change-doc.lock.yml` | Compiled workflow (generated by `gh aw compile`) | | `.github/skills/breaking-change-doc/SKILL.md` | This skill | -| `.github/skills/breaking-change-doc/Get-VersionInfo.ps1` | `gh` CLI-based .NET version detection | -| `.github/skills/breaking-change-doc/Build-IssueComment.ps1` | Builds PR comment with URL-encoded issue creation link | +| `.github/skills/breaking-change-doc/scripts/Get-VersionInfo.ps1` | `gh` CLI-based .NET version detection | +| `.github/skills/breaking-change-doc/scripts/Build-IssueComment.ps1` | Builds PR comment with URL-encoded issue creation link | --- @@ -102,7 +102,7 @@ include the actual area label in the description. Run the helper script to determine the .NET version context: ``` -pwsh .github/skills/breaking-change-doc/Get-VersionInfo.ps1 -PrNumber +pwsh scripts/Get-VersionInfo.ps1 -PrNumber ``` **You MUST display the complete script output.** The script outputs JSON that includes: @@ -239,7 +239,7 @@ Pass the PR assignees so they are `@`-mentioned in the comment and receive a GitHub notification: ```bash -pwsh .github/skills/breaking-change-doc/Build-IssueComment.ps1 \ +pwsh scripts/Build-IssueComment.ps1 \ -IssueDraftPath artifacts/docs/breakingChanges/issue-draft.md \ -Title "" \ -Assignees "@user1 @user2" \ diff --git a/.github/skills/breaking-change-doc/Build-IssueComment.ps1 b/.github/skills/breaking-change-doc/scripts/Build-IssueComment.ps1 similarity index 97% rename from .github/skills/breaking-change-doc/Build-IssueComment.ps1 rename to .github/skills/breaking-change-doc/scripts/Build-IssueComment.ps1 index 6fb00936c92ab8..361419244d1b7e 100644 --- a/.github/skills/breaking-change-doc/Build-IssueComment.ps1 +++ b/.github/skills/breaking-change-doc/scripts/Build-IssueComment.ps1 @@ -7,7 +7,7 @@ # - An email reminder # # Usage: -# pwsh .github/skills/breaking-change-doc/Build-IssueComment.ps1 ` +# pwsh .github/skills/breaking-change-doc/scripts/Build-IssueComment.ps1 ` # -IssueDraftPath issue-draft.md ` # -Title "[Breaking change]: Something changed" ` # -Assignees "@user1 @user2" ` diff --git a/.github/skills/breaking-change-doc/Get-VersionInfo.ps1 b/.github/skills/breaking-change-doc/scripts/Get-VersionInfo.ps1 similarity index 98% rename from .github/skills/breaking-change-doc/Get-VersionInfo.ps1 rename to .github/skills/breaking-change-doc/scripts/Get-VersionInfo.ps1 index 76332081aa3d38..7004ae77200bb1 100644 --- a/.github/skills/breaking-change-doc/Get-VersionInfo.ps1 +++ b/.github/skills/breaking-change-doc/scripts/Get-VersionInfo.ps1 @@ -2,7 +2,7 @@ # Determines the .NET version context for a merged PR using the GitHub CLI (gh). # # Usage: -# pwsh .github/skills/breaking-change-doc/Get-VersionInfo.ps1 -PrNumber 114929 +# pwsh .github/skills/breaking-change-doc/scripts/Get-VersionInfo.ps1 -PrNumber 114929 # # Output: JSON object with LastTagBeforeMerge, FirstTagWithChange, EstimatedVersion