Skip to content

analyze_issue

analyze_issue #44

Workflow file for this run

name: analyze_issue
on:
issues:
types: [opened]
workflow_dispatch:
inputs:
issue: null
jobs:
analyze_issue:
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
cache: 'pip'
cache-dependency-path: .github/workflows/analyze_issue.yml
- name: Install dependencies
run: pip install openai octokitpy
- name: Analysis
env:
GITHUB_TOKEN: ${{ github.token }}
GITHUB_REPOSITORY: ${{ github.repository }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
ASSISTANT_ID: ${{ vars.ASSISTANT_ID }}
PYTHONUNBUFFERED: 1
run: |
python .github/workflows/analyze_issue.py