Skip to content

Block GitHub Bots Daily #275

Block GitHub Bots Daily

Block GitHub Bots Daily #275

Workflow file for this run

name: Block GitHub Bots Daily
on:
schedule:
- cron: "0 3 * * *" # Runs every day at 2am UTC
workflow_dispatch:
jobs:
run-bot-blocker:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.x
- name: Install dependencies
run: pip install requests
- name: Run script
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GITHUB_USERNAME: ${{ secrets.GH_USERNAME }}
run: python main.py