Skip to content

Commit 86cab24

Browse files
committed
Merge branch 'master' into mathjax3-redo
2 parents fba4937 + a396bad commit 86cab24

File tree

361 files changed

+8252
-7535
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

361 files changed

+8252
-7535
lines changed

.bumpversion.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 4, 0, 0, "alpha", 34
2+
current_version = 4, 0, 0, "alpha", 36
33
commit = False
44
tag = False
55
parse = (?P<major>\d+)\,\ (?P<minor>\d+)\,\ (?P<patch>\d+)\,\ \"(?P<release>\S+)\"\,\ (?P<build>\d+)

.github/dependabot.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@ updates:
44
- package-ecosystem: "github-actions"
55
directory: "/"
66
schedule:
7-
# Check for updates to GitHub Actions every week
8-
interval: "weekly"
7+
# Check for updates to GitHub Actions every month
8+
interval: "monthly"
99
# Set update schedule for pip
1010
- package-ecosystem: "pip"
1111
directory: "/"
1212
schedule:
13-
# Check for updates to GitHub Actions every week
14-
interval: "weekly"
13+
# Check for updates to GitHub Actions every month
14+
# Align with pre-commit configuration .pre-commit-config.yaml
15+
interval: "monthly"

.github/labeler.yml

-2
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,6 @@ pkg:cells:
5757
- packages/cells/*
5858

5959
pkg:celltags:
60-
- packages/celltags/**/*
61-
- packages/celltags/*
6260
- packages/celltags-extension/**/*
6361
- packages/celltags-extension/*
6462

.github/workflows/prep-release.yml

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: "Step 1: Prep Release"
2+
on:
3+
workflow_dispatch:
4+
inputs:
5+
version_spec:
6+
description: "New Version Specifier"
7+
default: "next"
8+
required: false
9+
branch:
10+
description: "The branch to target"
11+
required: false
12+
post_version_spec:
13+
description: "Post Version Specifier"
14+
required: false
15+
since:
16+
description: "Use PRs with activity since this date or git reference"
17+
required: false
18+
since_last_stable:
19+
description: "Use PRs with activity since the last stable git tag"
20+
required: false
21+
type: boolean
22+
jobs:
23+
prep_release:
24+
runs-on: ubuntu-latest
25+
steps:
26+
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
27+
28+
- name: Prep Release
29+
id: prep-release
30+
uses: jupyter-server/jupyter_releaser/.github/actions/prep-release@v2
31+
with:
32+
token: ${{ secrets.ADMIN_GITHUB_TOKEN }}
33+
version_spec: ${{ github.event.inputs.version_spec }}
34+
post_version_spec: ${{ github.event.inputs.post_version_spec }}
35+
target: ${{ github.event.inputs.target }}
36+
branch: ${{ github.event.inputs.branch }}
37+
since: ${{ github.event.inputs.since }}
38+
since_last_stable: ${{ github.event.inputs.since_last_stable }}
39+
40+
- name: "** Next Step **"
41+
run: |
42+
echo "Optional): Review Draft Release: ${{ steps.prep-release.outputs.release_url }}"

.github/workflows/publish-release.yml

+55
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
name: "Step 2: Publish Release"
2+
on:
3+
workflow_dispatch:
4+
inputs:
5+
branch:
6+
description: "The target branch"
7+
required: false
8+
release_url:
9+
description: "The URL of the draft GitHub release"
10+
required: false
11+
steps_to_skip:
12+
description: "Comma separated list of steps to skip"
13+
required: false
14+
default: "ensure-sha"
15+
16+
jobs:
17+
publish_release:
18+
runs-on: ubuntu-latest
19+
steps:
20+
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
21+
22+
- name: Populate Release
23+
id: populate-release
24+
uses: jupyter-server/jupyter_releaser/.github/actions/populate-release@v2
25+
with:
26+
token: ${{ secrets.ADMIN_GITHUB_TOKEN }}
27+
target: ${{ github.event.inputs.target }}
28+
branch: ${{ github.event.inputs.branch }}
29+
release_url: ${{ github.event.inputs.release_url }}
30+
steps_to_skip: ${{ github.event.inputs.steps_to_skip }}
31+
32+
- name: Finalize Release
33+
id: finalize-release
34+
env:
35+
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
36+
PYPI_TOKEN_MAP: ${{ secrets.PYPI_TOKEN_MAP }}
37+
TWINE_USERNAME: __token__
38+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
39+
uses: jupyter-server/jupyter-releaser/.github/actions/finalize-release@v2
40+
with:
41+
token: ${{ secrets.ADMIN_GITHUB_TOKEN }}
42+
target: ${{ github.event.inputs.target }}
43+
release_url: ${{ steps.populate-release.outputs.release_url }}
44+
45+
- name: "** Next Step **"
46+
if: ${{ success() }}
47+
run: |
48+
echo "Verify the final release"
49+
echo ${{ steps.finalize-release.outputs.release_url }}
50+
51+
- name: "** Failure Message **"
52+
if: ${{ failure() }}
53+
run: |
54+
echo "Failed to Publish the Draft Release Url:"
55+
echo ${{ steps.populate-release.outputs.release_url }}

.github/workflows/reject-staging-changes.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
- name: Get modified files in the staging directory
1818
id: modified-files-in-staging
19-
uses: tj-actions/changed-files@v35.6.0
19+
uses: tj-actions/changed-files@v35.7.0
2020
with:
2121
# only checks for modified files in this directory
2222
files: jupyterlab/staging

.pre-commit-config.yaml

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
ci:
2+
# Same schedule interval as dependabot see .github/dependabot.yml
3+
autoupdate_schedule: monthly
24
# skip any check that needs internet access
35
skip: [prettier, eslint, stylelint]
46

@@ -25,7 +27,7 @@ repos:
2527
exclude: .bumpversion.cfg
2628

2729
- repo: https://github.com/python-jsonschema/check-jsonschema
28-
rev: 0.21.0
30+
rev: 0.22.0
2931
hooks:
3032
- id: check-github-workflows
3133

@@ -35,7 +37,7 @@ repos:
3537
- id: black
3638

3739
- repo: https://github.com/charliermarsh/ruff-pre-commit
38-
rev: v0.0.252
40+
rev: v0.0.255
3941
hooks:
4042
- id: ruff
4143
args: ["--fix"]

0 commit comments

Comments
 (0)