Skip to content

specify repo and add more description #1

specify repo and add more description

specify repo and add more description #1

Workflow file for this run

name: 'Sync to Template'

Check failure on line 1 in .github/workflows/template-sync.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/template-sync.yaml

Invalid workflow file

`schedule` accepts a list of one or more maps with the `cron` key set
description: 'Get updates to the Jupyterbook from the template repo'
on:
# cronjob trigger (minute, hour, day, month, day-of-week; here 1st of month)
schedule:
# - cron: "0 0 1 * *"
# manual trigger
workflow_dispatch:
jobs:
repo-sync:
runs-on: ubuntu-latest
# https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
permissions:
contents: write
pull-requests: write
steps:
# To use this repository's private action, you must check out the repository
- name: Checkout
uses: actions/checkout@v4
# https://github.com/actions/checkout#usage
# uncomment if you use submodules within the source repository
# with:
# submodules: true
- name: actions-template-sync
uses: AndreasAugustin/actions-template-sync@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
source_repo_path: uwhackweek/jupyterbook-template
upstream_branch: main # defaults to main