Skip to content

Prep Notebook

Prep Notebook #4

Workflow file for this run

name: Prep Notebook
on:
schedule:
- cron: '0 4 1-25 12 *' # This will run the workflow every day at 5am
push:
branches:
- master
paths:
- '.github/workflows/prep-day.yml'
workflow_dispatch:
concurrency:
group: ${{ github.ref }}
cancel-in-progress: false
jobs:
prep-notebook:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
token: ${{ secrets.PERSONAL_GITHUB_TOKEN }}
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.13'
cache: 'pip'
- name: Install Task
uses: arduino/setup-task@v2
with:
version: 3.x
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Prepare Notebook
run: task setup.today
- uses: stefanzweifel/git-auto-commit-action@v5
continue-on-error: true
id: auto-commit-action
with:
commit_message: 'Preparing Notebook'
commit_options: '--no-verify'