-
Notifications
You must be signed in to change notification settings - Fork 196
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: zethson <[email protected]>
- Loading branch information
Showing
17 changed files
with
319 additions
and
298 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,51 +1,51 @@ | ||
name-template: "1.0.0 🌈" | ||
tag-template: 1.0.0 | ||
categories: | ||
- title: "🚀 Features" | ||
labels: | ||
- feature | ||
- enhancement | ||
- title: "🐛 Bug Fixes" | ||
labels: | ||
- fix | ||
- bugfix | ||
- bug | ||
- title: "🧰 Maintenance" | ||
label: chore | ||
- title: ":package: Dependencies" | ||
labels: | ||
- dependencies | ||
- build | ||
- dependabot | ||
- DEPENDABOT | ||
- title: "🚀 Features" | ||
labels: | ||
- feature | ||
- enhancement | ||
- title: "🐛 Bug Fixes" | ||
labels: | ||
- fix | ||
- bugfix | ||
- bug | ||
- title: "🧰 Maintenance" | ||
label: chore | ||
- title: ":package: Dependencies" | ||
labels: | ||
- dependencies | ||
- build | ||
- dependabot | ||
- DEPENDABOT | ||
version-resolver: | ||
major: | ||
labels: | ||
- major | ||
minor: | ||
labels: | ||
- minor | ||
patch: | ||
labels: | ||
- patch | ||
default: patch | ||
major: | ||
labels: | ||
- major | ||
minor: | ||
labels: | ||
- minor | ||
patch: | ||
labels: | ||
- patch | ||
default: patch | ||
autolabeler: | ||
- label: chore | ||
files: | ||
- "*.md" | ||
branch: | ||
- '/docs{0,1}\/.+/' | ||
- label: bug | ||
branch: | ||
- /fix\/.+/ | ||
title: | ||
- /fix/i | ||
- label: enhancement | ||
branch: | ||
- /feature\/.+/ | ||
body: | ||
- "/JIRA-[0-9]{1,4}/" | ||
- label: chore | ||
files: | ||
- "*.md" | ||
branch: | ||
- '/docs{0,1}\/.+/' | ||
- label: bug | ||
branch: | ||
- /fix\/.+/ | ||
title: | ||
- /fix/i | ||
- label: enhancement | ||
branch: | ||
- /feature\/.+/ | ||
body: | ||
- "/JIRA-[0-9]{1,4}/" | ||
template: | | ||
## Changes | ||
## Changes | ||
$CHANGES | ||
$CHANGES |
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 |
---|---|---|
@@ -1,19 +1,19 @@ | ||
name: Labeler | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- master | ||
push: | ||
branches: | ||
- main | ||
- master | ||
|
||
jobs: | ||
labeler: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out the repository | ||
uses: actions/[email protected] | ||
labeler: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out the repository | ||
uses: actions/[email protected] | ||
|
||
- name: Run Labeler | ||
uses: crazy-max/[email protected] | ||
with: | ||
skip-delete: true | ||
- name: Run Labeler | ||
uses: crazy-max/[email protected] | ||
with: | ||
skip-delete: true |
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 |
---|---|---|
@@ -1,40 +1,40 @@ | ||
name: Publish book | ||
|
||
on: | ||
release: | ||
types: [published] | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
build-book: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Set up Python 3.9 | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.9 | ||
- name: Set up Python 3.9 | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.9 | ||
|
||
- name: Setup environment | ||
run: pip install --upgrade jupyter-book jupytext beautifulsoup4 | ||
- name: Setup environment | ||
run: pip install --upgrade jupyter-book jupytext beautifulsoup4 | ||
|
||
- name: Cache jupyter-cache folder | ||
uses: actions/cache@v2 | ||
env: | ||
cache-name: jupyter-cache | ||
with: | ||
path: jupyter-book/_build/.jupyter_cache | ||
key: v1-${{ github.ref }}-${{ hashFiles('notebook_scripts/**/*.py') }} | ||
restore-keys: | | ||
v1-${{ github.ref }}-${{ hashFiles('notebook_scripts/**/*.py') }} | ||
v1-${{ github.ref }} | ||
v1-refs/heads/master | ||
- name: Cache jupyter-cache folder | ||
uses: actions/cache@v2 | ||
env: | ||
cache-name: jupyter-cache | ||
with: | ||
path: jupyter-book/_build/.jupyter_cache | ||
key: v1-${{ github.ref }}-${{ hashFiles('notebook_scripts/**/*.py') }} | ||
restore-keys: | | ||
v1-${{ github.ref }}-${{ hashFiles('notebook_scripts/**/*.py') }} | ||
v1-${{ github.ref }} | ||
v1-refs/heads/master | ||
- name: Build the JupyterBook | ||
run: make | ||
- name: Build the JupyterBook | ||
run: make | ||
|
||
- name: Deploy to Github Pages | ||
uses: peaceiris/actions-gh-pages@v3 | ||
with: | ||
- name: Deploy to Github Pages | ||
uses: peaceiris/actions-gh-pages@v3 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: ./jupyter-book/_build/html/ |
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 |
---|---|---|
@@ -1,19 +1,19 @@ | ||
name: Release Drafter | ||
on: | ||
push: | ||
branches: | ||
- development | ||
pull_request: | ||
branches: | ||
- development | ||
types: | ||
- opened | ||
- reopened | ||
- synchronize | ||
push: | ||
branches: | ||
- development | ||
pull_request: | ||
branches: | ||
- development | ||
types: | ||
- opened | ||
- reopened | ||
- synchronize | ||
jobs: | ||
update_release_draft: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: release-drafter/release-drafter@v5 | ||
env: | ||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | ||
update_release_draft: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: release-drafter/release-drafter@v5 | ||
env: | ||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" |
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,16 @@ | ||
fail_fast: false | ||
default_language_version: | ||
python: python3 | ||
default_stages: | ||
- commit | ||
- push | ||
minimum_pre_commit_version: 2.16.0 | ||
repos: | ||
- repo: https://github.com/pre-commit/mirrors-prettier | ||
rev: v2.6.2 | ||
hooks: | ||
- id: prettier | ||
- repo: https://github.com/psf/black | ||
rev: 22.3.0 | ||
hooks: | ||
- id: black-jupyter |
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
Oops, something went wrong.