Implement AI-powered Dashboard for Response Visualization #1
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: Generate Reports | |
on: | |
schedule: | |
- cron: "0 0 * * *" | |
issues: | |
types: [opened, deleted, closed, reopened, labeled] | |
jobs: | |
generate-reports: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.10.x' | |
- name: Install dependencies | |
run: | | |
pip install matplotlib pandas requests PyGithub | |
- name: Run report generation script | |
env: | |
TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
USER: ${{ secrets.USER }} | |
PROJECT: ${{ secrets.PROJECT }} | |
run: python ishikawa_tools/ishikawa_tools_script.py | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: ishikawa-screenshots | |
path: ./ishikawa_tools/output | |
retention-days: 1 |