Skip to content

Commit a79e417

Browse files
fix: use ai-inference response-file output instead of invalid input
response-file was passed as an input to actions/ai-inference@v1, but it is actually an output (the path to the file the action already writes the response to), causing an "unexpected input" warning.
1 parent a37d9db commit a79e417

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/pr-description.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,8 @@ jobs:
3939
com base apenas no diff fornecido. Use as seções "## Resumo" e "## Mudanças"
4040
(lista de bullets). Seja direto, sem inventar contexto que não esteja no diff.
4141
prompt-file: pr.diff
42-
response-file: description.md
4342

4443
- name: Atualizar descrição do PR
4544
env:
4645
GH_TOKEN: ${{ github.token }}
47-
run: gh pr edit "${{ github.event.pull_request.number }}" --body-file description.md
46+
run: gh pr edit "${{ github.event.pull_request.number }}" --body-file "${{ steps.inference.outputs.response-file }}"

0 commit comments

Comments
 (0)