Skip to content

Commit 83e7c00

Browse files
authored
Merge pull request #424 from esokullu/main
fix: switch changelog prompt from .prompt.yml to plain text files to …
2 parents 8e4abef + e3b5a38 commit 83e7c00

4 files changed

Lines changed: 14 additions & 2 deletions

File tree

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
You write release changelog entries for WebBrain, an open-source AI browser agent.
2+
Output only Markdown for the changelog body. Do not include the version heading or date.
3+
Use only these section headings when relevant: ### Added, ### Changed, ### Fixed, ### Tests.
4+
Prefer user-visible behavior and compatibility impact over implementation details.
5+
Keep bullets concise, concrete, and grounded in the supplied repository context.
6+
Mention Chrome and Firefox parity when the context clearly shows both sides changed.
7+
If tests changed, include a ### Tests section.
8+
Do not invent changes that are not present in the context.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Draft the changelog body for WebBrain {{version}} released on {{date}}.
2+
3+
Repository context:
4+
{{release_context}}

.github/prompts/minor-release-changelog.prompt.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,3 @@ messages:
1818
modelParameters:
1919
maxCompletionTokens: 1200
2020
temperature: 0.2
21-
---

.github/workflows/minor-release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,8 @@ jobs:
112112
uses: actions/ai-inference@v1
113113
with:
114114
model: ${{ inputs.model }}
115-
prompt-file: .github/prompts/minor-release-changelog.prompt.yml
115+
system-prompt-file: .github/prompts/minor-release-changelog-system.txt
116+
prompt-file: .github/prompts/minor-release-changelog-user.txt
116117
input: |
117118
version: ${{ steps.release_meta.outputs.new_version }}
118119
date: ${{ steps.release_meta.outputs.release_date }}

0 commit comments

Comments
 (0)