Skip to content

LLM Action Error Reporter #47

LLM Action Error Reporter

LLM Action Error Reporter #47

name: LLM Action Error Reporter
on:
workflow_run:
workflows: ["CI Core"] # This workflow will be triggered as soon as one of worfklows is completed
types:
- completed
jobs:
analyze_logs:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
repository-projects: read
actions: read
steps:
- name: Analyze logs
uses: smartcontractkit/.github/actions/llm-action-error-reporter@5efdd03d4a3311e7a0954e5b3061dbb57596ca10 # v0.2.0
with:
parent-workflow-conclusion: ${{ github.event.workflow_run.conclusion }}
edit-comment: true
gh-token: ${{ secrets.GITHUB_TOKEN }}
openai-model: 'gpt-4-turbo-2024-04-09'
openai-api-key: ${{ secrets.OPENAI_API_KEY }}