Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml → .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- "datalayer_core/**"
- "typedoc.json"
- "pyproject.toml"
- ".github/workflows/docs.yml"
- ".github/workflows/docs.yaml"
pull_request:
branches: [main, develop]
paths:
Expand All @@ -18,7 +18,7 @@ on:
- "datalayer_core/**"
- "typedoc.json"
- "pyproject.toml"
- ".github/workflows/docs.yml"
- ".github/workflows/docs.yaml"

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ on:
paths:
- 'src/api/mcp/**'
- 'scripts/generate-mcp-types.py'
- '.github/workflows/mcp-generated-types.yml'
- '.github/workflows/mcp-generated-types.yaml'
pull_request:
branches: [ main, develop ]
paths:
- 'src/api/mcp/**'
- 'scripts/generate-mcp-types.py'
- '.github/workflows/mcp-generated-types.yml'
- '.github/workflows/mcp-generated-types.yaml'
workflow_dispatch:

permissions:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ on:
- 'datalayer_core/orchestration/**'
- 'src/api/orchestration/**'
- 'scripts/generate-orchestration-types.py'
- '.github/workflows/orchestration-generated-types.yml'
- '.github/workflows/orchestration-generated-types.yaml'
pull_request:
branches: [ main, develop ]
paths:
- 'datalayer_core/orchestration/**'
- 'src/api/orchestration/**'
- 'scripts/generate-orchestration-types.py'
- '.github/workflows/orchestration-generated-types.yml'
- '.github/workflows/orchestration-generated-types.yaml'
workflow_dispatch:

permissions:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
- '.pre-commit-config.yaml'
- 'ruff.toml'
- '.ruff.toml'
- '.github/workflows/py-code-style.yml'
- '.github/workflows/py-code-style.yaml'
pull_request:
branches:
- main
Expand All @@ -26,7 +26,7 @@ on:
- '.pre-commit-config.yaml'
- 'ruff.toml'
- '.ruff.toml'
- '.github/workflows/py-code-style.yml'
- '.github/workflows/py-code-style.yaml'
workflow_dispatch:

concurrency:
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
- 'setup.py'
- 'mypy.ini'
- '.mypy.ini'
- '.github/workflows/py-typing.yml'
- '.github/workflows/py-typing.yaml'
pull_request:
branches:
- main
Expand All @@ -24,7 +24,7 @@ on:
- 'setup.py'
- 'mypy.ini'
- '.mypy.ini'
- '.github/workflows/py-typing.yml'
- '.github/workflows/py-typing.yaml'
workflow_dispatch:

concurrency:
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
- '.eslintrc*'
- '.prettierrc*'
- 'package.json'
- '.github/workflows/ts-code-style.yml'
- '.github/workflows/reusable-typescript.yml'
- '.github/workflows/ts-code-style.yaml'
- '.github/workflows/reusable-typescript.yaml'
pull_request:
branches: [ main, develop ]
paths:
Expand All @@ -31,22 +31,22 @@
- '.eslintrc*'
- '.prettierrc*'
- 'package.json'
- '.github/workflows/ts-code-style.yml'
- '.github/workflows/reusable-typescript.yml'
- '.github/workflows/ts-code-style.yaml'
- '.github/workflows/reusable-typescript.yaml'

jobs:
code-style:
uses: ./.github/workflows/reusable-typescript.yml
uses: ./.github/workflows/reusable-typescript.yaml
with:
node-version: '22'
install-command: 'npm install'
build-command: '' # Skip build for code style checks
run-format-check: true
run-lint: true
run-type-check: false
run-tests: false

auto-fix:

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {}
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
needs: code-style
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
- '*.js'
- '*.ts'
- '*.tsx'
- '.github/workflows/ts-tests.yml'
- '.github/workflows/reusable-typescript.yml'
- '.github/workflows/ts-tests.yaml'
- '.github/workflows/reusable-typescript.yaml'
pull_request:
branches: [ main, develop ]
paths:
Expand All @@ -21,27 +21,27 @@
- '*.js'
- '*.ts'
- '*.tsx'
- '.github/workflows/ts-tests.yml'
- '.github/workflows/reusable-typescript.yml'
- '.github/workflows/ts-tests.yaml'
- '.github/workflows/reusable-typescript.yaml'

jobs:
test-22x:
uses: ./.github/workflows/reusable-typescript.yml
uses: ./.github/workflows/reusable-typescript.yaml
with:
node-version: '22'
install-command: 'npm install --workspaces'
build-command: 'npm run build'
run-format-check: false
run-lint: false
run-type-check: false
run-tests: true
test-command: 'npm run test:all && npm run test:coverage && npm run build:lib'
secrets:
TEST_DATALAYER_API_KEY: ${{ secrets.TEST_DATALAYER_API_KEY }}

test-24x:

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {}
needs: test-22x # Run sequentially
uses: ./.github/workflows/reusable-typescript.yml
uses: ./.github/workflows/reusable-typescript.yaml
with:
node-version: '24.x'
install-command: 'npm install --workspaces'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,33 +8,33 @@
- 'src/**/*.tsx'
- 'tsconfig*.json'
- 'package.json'
- '.github/workflows/ts-typing.yml'
- '.github/workflows/reusable-typescript.yml'
- '.github/workflows/ts-typing.yaml'
- '.github/workflows/reusable-typescript.yaml'
pull_request:
branches: [ main, develop ]
paths:
- 'src/**/*.ts'
- 'src/**/*.tsx'
- 'tsconfig*.json'
- 'package.json'
- '.github/workflows/ts-typing.yml'
- '.github/workflows/reusable-typescript.yml'
- '.github/workflows/ts-typing.yaml'
- '.github/workflows/reusable-typescript.yaml'

jobs:
type-check:
uses: ./.github/workflows/reusable-typescript.yml
uses: ./.github/workflows/reusable-typescript.yaml
with:
node-version: '22'
install-command: 'npm install --workspaces'
build-command: 'npm run build'
run-format-check: false
run-lint: false
run-type-check: true
run-tests: false
secrets:
TEST_DATALAYER_API_KEY: ${{ secrets.TEST_DATALAYER_API_KEY }}

strict-mode-check:

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {}
runs-on: ubuntu-latest
needs: type-check

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<a href="https://pypi.org/project/datalayer-core/"><img src="https://img.shields.io/pypi/pyversions/datalayer-core.svg" alt="Python versions"></img></a>
<a href="https://github.com/datalayer/core/blob/main/LICENSE"><img src="https://img.shields.io/badge/License-BSD%203--Clause-blue.svg" alt="License"></img></a>
<a href="https://datalayer.ai/docs/"><img src="https://img.shields.io/badge/docs-datalayer.app-blue" alt="Documentation"></img></a>
<a href="https://github.com/datalayer/core/actions/workflows/py-tests.yml"><img src="https://github.com/datalayer/core/actions/workflows/py-tests.yml/badge.svg" alt="Units Tests"></img></a><a href="https://github.com/datalayer/core/actions/workflows/ts-tests.yml"><img src="https://github.com/datalayer/core/actions/workflows/ts-tests.yml/badge.svg" alt="Units Tests"></img></a>
<a href="https://github.com/datalayer/core/actions/workflows/py-tests.yaml"><img src="https://github.com/datalayer/core/actions/workflows/py-tests.yaml/badge.svg" alt="Units Tests"></img></a><a href="https://github.com/datalayer/core/actions/workflows/ts-tests.yaml"><img src="https://github.com/datalayer/core/actions/workflows/ts-tests.yaml/badge.svg" alt="Units Tests"></img></a>
</p>

## Overview
Expand Down
6 changes: 3 additions & 3 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## Automated release (tags)

Pushing a tag `vX.Y.Z` publishes `datalayer_core` to PyPI and `@datalayer/core` to npm from
[`.github/workflows/release.yml`](.github/workflows/release.yml). No token is stored anywhere:
[`.github/workflows/release.yaml`](.github/workflows/release.yaml). No token is stored anywhere:
both registries trust that workflow file (OIDC trusted publishing).

### Cutting a release
Expand Down Expand Up @@ -38,11 +38,11 @@ twice, so if something has to change after a publish, bump the version and push
### One-time setup

- **PyPI**: on <https://pypi.org/manage/project/datalayer-core/settings/publishing/>, add a
trusted publisher: owner `datalayer`, repository `core`, workflow `release.yml`, environment
trusted publisher: owner `datalayer`, repository `core`, workflow `release.yaml`, environment
`pypi`. The `pypi` environment already exists in the repository settings; restricting it to
`v*` tags is recommended.
- **npm**: on the `@datalayer/core` package settings on npmjs.com, add a trusted publisher:
GitHub Actions, organization `datalayer`, repository `core`, workflow `release.yml`,
GitHub Actions, organization `datalayer`, repository `core`, workflow `release.yaml`,
environment `npm`. The `npm` environment already exists in the repository settings.

## Manual release
Expand Down
Loading