chore: Fix duplicates job

pull/1889/head
Christian Kußowski 5 months ago
parent 10c286e958
commit 806d759ea2
No known key found for this signature in database
GPG Key ID: E067ECD60F1A0652

@ -14,7 +14,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Search for similar issues
run: echo "issues=$(gh issue list --search '${{ env.title }}' --json title,body,url)" >> $GITHUB_ENV
run: echo "issues=$(gh issue list --search '${{ env.title }}')" >> $GITHUB_ENV
- name: Let Gemini reply
run: |
echo "${{ env.issues }}"
@ -25,6 +25,7 @@ jobs:
"contents": [{
"parts":[
{"text": "Please write a very short and nice response to this new issue. If existing link possible duplications by using markdown links."},
{"text": "To create a link to a possible duplication, use 'https://github.com/krille-chan/fluffychat/issues/<ISSUENUMBER>'"},
{"text": "${{ env.title }}\n${{ env.body }}"},
{"text": "Possible duplications:\n${{ env.issues }}"}
]

Loading…
Cancel
Save