File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,12 +28,22 @@ Analyze the provided input and:
2828
2929Be pragmatic: if information is missing, make reasonable assumptions but call them out briefly.
3030
31- ---
31+ Before generating the PR description, you MUST:
3232
33- ## Output format
33+ - Read this prompt file from ` .github/prompts/pr-description.prompt.md ` directly, even if hidden folders were not
34+ surfaced by an earlier search.
35+ - Read ` .github/pull_request_template.md ` directly and treat it as authoritative.
36+ - Resolve all relative paths from the repository root.
37+ - Treat ` ./pr-descriptions/ ` as a repository-root-relative output folder.
38+ - Never assume ` .github/ ` content is missing just because a previous listing or glob search did not show hidden folders.
3439
35- You MUST return the PR description using this exact structure:
40+ ---
3641
37- ### Pull Request Template
42+ ## Output format
3843
39- .github/pull_request_template.md
44+ You MUST return the PR description using this exact structure, you will find the template in
45+ ` .github/pull_request_template.md ` :
46+ You MUST fill in all sections, and you MUST NOT modify the template structure.
47+ You MUST create a * .md file in the ` ./pr-descriptions/ ` folder with the same name as the PR title, and write the
48+ generated description there.
49+ If the folder does not exist yet, you MUST create it under the repository root before writing the file.
Original file line number Diff line number Diff line change 3535
3636 - name : Validate repository changelog with Test-KeepAChangelogFile
3737 run : |
38- Import-Module ./dist/KeepAChangelog/KeepAChangelog.psd1 -Force
3938 $result = Test-KeepAChangelogFile -Path ./CHANGELOG.md
4039 if (-not $result.IsValid) {
4140 throw ($result.Errors -join [Environment]::NewLine)
You can’t perform that action at this time.
0 commit comments