LLM Action Error Reporter #9904
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: LLM Action Error Reporter | |
on: | |
workflow_run: | |
workflows: ["CI Core", "Operator UI CI"] # 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@05ae80b1ccba5e73ce9e773983d805b13656840c # v0.4.0 | |
with: | |
parent-workflow-conclusion: ${{ github.event.workflow_run.conclusion }} | |
skip-on-success: true # Skip posting comment if no errors are found | |
gh-token: ${{ github.token }} | |
openai-api-key: ${{ secrets.OPENAI_API_KEY }} |