-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add template sync action to repo (#146)
* add template sync action to repo * add files to sync ignore * update checkout actions to v3 --------- Co-authored-by: Joachim Meyer <[email protected]>
- Loading branch information
1 parent
63af51a
commit 71922e3
Showing
9 changed files
with
63 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: 'Sync to Template' | ||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# THIS FILE CANNOT BE SYNCED | ||
# use glob patterns as in .gitignore | ||
# recommend listing non-basics tutorial directories here | ||
|
||
# configuration files | ||
cookiecutter.yaml | ||
|
||
# environment lock files | ||
./conda/*lock.yml | ||
|
||
# book files (configuration, usage-specific) | ||
./book/_config.yml | ||
./book/team.yaml | ||
|
||
# event-specific tutorials |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters