Skip to content

run_upkeep

run_upkeep #1369

Workflow file for this run

name: run_upkeep
on:
schedule:
- cron: '0 15 * * *'
jobs:
run_upkeep:
env:
TZ: America/New_York
permissions:
contents: read
issues: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set Up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install Dependencies
run: >
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Load 1Password secrets
uses: 1password/load-secrets-action@v1
with:
export-env: true
env:
OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_DOCS_BOT_SERVICE_TOKEN }}
DOCS_BOT_GITHUB_TOKEN: ${{ secrets.OP_DOCS_BOT_GITHUB_TOKEN }}
- name: Run Upkeep
run: >
python upkeep.py \
--repository="AlexsLemonade/scrum" \
--token="${{ env.DOCS_BOT_GITHUB_TOKEN }}" \
--workdays-ahead=1