Skip to content

Updated submodule notebooks with titles and learning objectives #8

Updated submodule notebooks with titles and learning objectives

Updated submodule notebooks with titles and learning objectives #8

name: 'Lint Notebook'
on:
workflow_call:
inputs:
directory:
required: false
type: string
push:
permissions:
contents: write
id-token: write
jobs:
lint:
name: 'Linting'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
cache: 'pip'
- name: Install requirements.txt
run: |
python3 -m pip install --upgrade pip
pip3 install nbformat
- name: Notebook Linting
working-directory: .github/workflows
run: |
python3 lint.py
- name: Commit changes
uses: EndBug/add-and-commit@v9
with:
author_name: github-action
author_email: [email protected]
message: 'Github Action: Refresh stats'