Skip to content

testing yaml updates #11

testing yaml updates

testing yaml updates #11

Workflow file for this run

name: monthly lcsh check
on:
push:
branches:
- github-actions
# on:
# schedule:
# - chron: * 9 1 * *
jobs:
monthly-run:
name: Run monthly LCSH check
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r dev-requirements.txt
python -m pip install -r requirements.txt
- name: Create branch
run: git checkout -b lcsh_check
- name: Run script
run: |
python monthly_lcsh_check.py
- name: Commit and push changed files
run:
git config user.name "Charlotte Kostelic"
git config user.email "[email protected]"
git add lcsh.log
git diff data/
git add data/*
git commit -a -m "Monthly LCSH Check"
git push