Push Todos With Duedates To Top #22
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: Push Todos With Duedates To Top | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '00 10 * * *' # Runs every day at 10:00 UTC | |
jobs: | |
run-script: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.x' | |
- name: Install dependencies | |
run: | | |
python -m pip install -q --upgrade pip | |
pip install -q -r requirements.txt | |
- name: Run script | |
env: | |
HAB_API_USER: ${{ secrets.HAB_API_USER }} | |
HAB_API_TOKEN: ${{ secrets.HAB_API_TOKEN }} | |
run: python push-todos-with-duedates-to-top.py -v |