Skip to content

Sync branch with NYPL #687

Sync branch with NYPL

Sync branch with NYPL #687

Workflow file for this run

name: Sync branch with NYPL
on:
schedule:
- cron: '0 7 * * *'
workflow_dispatch:
jobs:
sync_with_nypl:
runs-on: ubuntu-latest
env:
UPSTREAM_ORG: NYPL-Simplified
UPSTREAM_REPO: circulation-web
UPSTREAM_BRANCH: main
ORIGIN_BRANCH: nypl/main
steps:
- name: Checkout repo to sync
uses: actions/checkout@v4
with:
path: code
- name: Checkout CI scripts
uses: actions/checkout@v4
with:
repository: 'ThePalaceProject/ci-scripts'
path: ci
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.8
- name: Install Python requirements
run: pip install -r ci/sync-requirements.txt
- name: Sync branch with upstream
run: python ci/sync.py code