Skip to content

Process GPT Ratings #33

Process GPT Ratings

Process GPT Ratings #33

name: Process GPT Ratings
on:
issues:
types: [opened, edited]
jobs:
update-ratings:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: 3.x
- name: Install 'github' Module
run: pip install PyGitHub
- name: Process Rating Issues
run: python .github/scripts/process_ratings.py
env:
MODIFY_TOKEN: ${{ secrets.MODIFY_TOKEN }}
- name: Commit and Push Changes
run: |
git config --global user.name 'robbiebusinessacc'
git config --global user.email '[email protected]'
git add README.md
git diff --staged --quiet || (git commit -m "Update GPT ratings" && git push)