Skip to content

Daily GitHub Issue Count #30

Daily GitHub Issue Count

Daily GitHub Issue Count #30

Workflow file for this run

name: Daily GitHub Issue Count
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.x
- name: Install Dependencies
run: |
pip install requests
pip install aiohttp==3.7.4
pip install discord.py
- name: Run Python Script
run: |
python github_issue_count.py
env:
GITHUB_TOKEN: ${{ secrets.ISSUE_GITHUB_TOKEN}}
DISCORD_TOKEN: ${{ secrets.DISCORD_TOKEN }}
DISCORD_CHANNEL_ID: ${{ secrets.DISCORD_CHANNEL_ID}}
DISCORD_BOT_TOKEN: ${{ secrets.DISCORD_BOT_TOKEN}}