-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main' into remove-skopt-learner
- Loading branch information
Showing
72 changed files
with
2,112 additions
and
894 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 |
---|---|---|
@@ -0,0 +1,58 @@ | ||
name: Generate Changelog | ||
|
||
on: | ||
# Manual trigger only | ||
workflow_dispatch: | ||
inputs: | ||
branch: | ||
description: 'Branch name' | ||
required: true | ||
|
||
jobs: | ||
generate-changelog: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Setup Ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: 3.0 | ||
|
||
- name: Install github-changelog-generator | ||
run: gem install github_changelog_generator | ||
|
||
- name: Generate Changelog | ||
run: | | ||
github_changelog_generator \ | ||
-u ${{ github.repository_owner }} \ | ||
-p ${{ github.event.repository.name }} \ | ||
--token ${{ secrets.GITHUB_TOKEN }} \ | ||
--output CHANGELOG.md | ||
- name: Commit updated CHANGELOG.md | ||
id: commit | ||
run: | | ||
git add CHANGELOG.md | ||
git config --local user.email "github-actions[bot]@users.noreply.github.com" | ||
git config --local user.name "github-actions[bot]" | ||
if git diff --quiet && git diff --staged --quiet; then | ||
echo "No changes in CHANGELOG.md, skipping commit." | ||
echo "commit_status=skipped" >> $GITHUB_ENV | ||
else | ||
git commit -m "Update CHANGELOG.md" | ||
echo "commit_status=committed" >> $GITHUB_ENV | ||
fi | ||
- name: Echo CHANGELOG.md | ||
run: cat CHANGELOG.md | ||
|
||
- name: Push changes | ||
if: env.commit_status == 'committed' | ||
uses: ad-m/github-push-action@master | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
branch: ${{ github.event.inputs.branch }} |
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 was deleted.
Oops, something went wrong.
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,10 @@ | ||
on: push | ||
name: TOC Generator | ||
jobs: | ||
generateTOC: | ||
name: TOC Generator | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: technote-space/toc-generator@v4 | ||
with: | ||
TOC_TITLE: "" |
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,29 @@ | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.4.0 | ||
rev: v4.6.0 | ||
hooks: | ||
- id: trailing-whitespace | ||
- id: end-of-file-fixer | ||
- id: check-docstring-first | ||
- id: check-yaml | ||
- id: debug-statements | ||
- id: check-ast | ||
- repo: https://github.com/psf/black | ||
rev: 23.3.0 | ||
hooks: | ||
- id: black | ||
- repo: https://github.com/charliermarsh/ruff-pre-commit | ||
rev: "v0.0.261" | ||
- repo: https://github.com/astral-sh/ruff-pre-commit | ||
rev: "v0.3.5" | ||
hooks: | ||
- id: ruff | ||
args: ["--fix"] | ||
- id: ruff-format | ||
- repo: https://github.com/nbQA-dev/nbQA | ||
rev: 1.8.5 | ||
hooks: | ||
- id: nbqa-black | ||
additional_dependencies: [jupytext, black] | ||
- id: nbqa | ||
args: ["ruff", "--fix", "--ignore=E402,B018,F704"] | ||
additional_dependencies: [jupytext, ruff] | ||
- repo: https://github.com/pre-commit/mirrors-mypy | ||
rev: "v1.9.0" | ||
hooks: | ||
- id: mypy | ||
exclude: ipynb_filter.py|docs/source/conf.py |
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,4 +1,4 @@ | ||
## Authors | ||
## 👥 Authors | ||
|
||
The current maintainers of Adaptive are: | ||
|
||
|
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.