Stale Branch Reminder #61
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: Stale Branch Reminder | |
on: | |
schedule: | |
- cron: "25 5 * * *" # Runs every day at midnight | |
jobs: | |
reminder: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
- name: Install Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.x | |
- name: Install PyGithub | |
run: | | |
pip install PyGithub | |
- name: Run Reminder Script | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: python reminder_script.py |