Skip to content

Count Reactions

Count Reactions #195

Workflow file for this run

name: Count Reactions
on:
push:
branches:
- master
schedule:
- cron: '0 0 * * *'
issues:
types:
- reopened
- edited
- labeled
jobs:
count-reactions:
runs-on: ubuntu-latest
permissions:
contents: read
issues: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
- name: Install dependencies
run: |
pip install PyGithub
- name: Count reactions
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run:
python3 scripts/count_reactions.py