Skip to content

Dependency Dashboard #233

Dependency Dashboard

Dependency Dashboard #233

# .github/workflows/chatgpt-integration.yml
name: ChatGPT GitHub Automation
on:
issues:
types: [opened, edited, reopened]
project_card:
types: [created, moved, converted]
schedule:
- cron: '0 0 * * *' # Daily automation check
jobs:
manage-projects:
runs-on: ubuntu-latest
steps:
- name: Check Out Repository
uses: actions/checkout@v3
- name: Set Up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install Dependencies
run: |
python -m pip install openai PyGithub python-dotenv
- name: Run ChatGPT Automation Script
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }} # Ensure this matches your secret name
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
run: python .github/scripts/chatgpt_automation.py