diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yaml similarity index 100% rename from .github/workflows/deploy-docs.yml rename to .github/workflows/deploy-docs.yaml diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yaml similarity index 93% rename from .github/workflows/docs.yml rename to .github/workflows/docs.yaml index 4be1510cf..26b6683d6 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yaml @@ -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: @@ -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 }} diff --git a/.github/workflows/fix-license-header.yml b/.github/workflows/fix-license-header.yaml similarity index 100% rename from .github/workflows/fix-license-header.yml rename to .github/workflows/fix-license-header.yaml diff --git a/.github/workflows/mcp-generated-types.yml b/.github/workflows/mcp-generated-types.yaml similarity index 93% rename from .github/workflows/mcp-generated-types.yml rename to .github/workflows/mcp-generated-types.yaml index b360a595c..06ef70847 100644 --- a/.github/workflows/mcp-generated-types.yml +++ b/.github/workflows/mcp-generated-types.yaml @@ -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: diff --git a/.github/workflows/orchestration-generated-types.yml b/.github/workflows/orchestration-generated-types.yaml similarity index 94% rename from .github/workflows/orchestration-generated-types.yml rename to .github/workflows/orchestration-generated-types.yaml index 678f9d974..7e331416e 100644 --- a/.github/workflows/orchestration-generated-types.yml +++ b/.github/workflows/orchestration-generated-types.yaml @@ -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: diff --git a/.github/workflows/py-code-style.yml b/.github/workflows/py-code-style.yaml similarity index 92% rename from .github/workflows/py-code-style.yml rename to .github/workflows/py-code-style.yaml index f9f728cd6..a9d928762 100644 --- a/.github/workflows/py-code-style.yml +++ b/.github/workflows/py-code-style.yaml @@ -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 @@ -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: diff --git a/.github/workflows/py-tests.yml b/.github/workflows/py-tests.yaml similarity index 100% rename from .github/workflows/py-tests.yml rename to .github/workflows/py-tests.yaml diff --git a/.github/workflows/py-typing.yml b/.github/workflows/py-typing.yaml similarity index 93% rename from .github/workflows/py-typing.yml rename to .github/workflows/py-typing.yaml index 336888adc..848b1d0b3 100644 --- a/.github/workflows/py-typing.yml +++ b/.github/workflows/py-typing.yaml @@ -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 @@ -24,7 +24,7 @@ on: - 'setup.py' - 'mypy.ini' - '.mypy.ini' - - '.github/workflows/py-typing.yml' + - '.github/workflows/py-typing.yaml' workflow_dispatch: concurrency: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yaml similarity index 100% rename from .github/workflows/release.yml rename to .github/workflows/release.yaml diff --git a/.github/workflows/reusable-typescript.yml b/.github/workflows/reusable-typescript.yaml similarity index 100% rename from .github/workflows/reusable-typescript.yml rename to .github/workflows/reusable-typescript.yaml diff --git a/.github/workflows/ts-code-style.yml b/.github/workflows/ts-code-style.yaml similarity index 90% rename from .github/workflows/ts-code-style.yml rename to .github/workflows/ts-code-style.yaml index 52052d170..6eac6bbe1 100644 --- a/.github/workflows/ts-code-style.yml +++ b/.github/workflows/ts-code-style.yaml @@ -15,8 +15,8 @@ on: - '.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: @@ -31,12 +31,12 @@ on: - '.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' diff --git a/.github/workflows/ts-tests.yml b/.github/workflows/ts-tests.yaml similarity index 79% rename from .github/workflows/ts-tests.yml rename to .github/workflows/ts-tests.yaml index 2c3af43f9..e141eb1c6 100644 --- a/.github/workflows/ts-tests.yml +++ b/.github/workflows/ts-tests.yaml @@ -10,8 +10,8 @@ on: - '*.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: @@ -21,12 +21,12 @@ on: - '*.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' @@ -41,7 +41,7 @@ jobs: test-24x: 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' diff --git a/.github/workflows/ts-typing.yml b/.github/workflows/ts-typing.yaml similarity index 89% rename from .github/workflows/ts-typing.yml rename to .github/workflows/ts-typing.yaml index 750e4fb79..c79afd5a9 100644 --- a/.github/workflows/ts-typing.yml +++ b/.github/workflows/ts-typing.yaml @@ -8,8 +8,8 @@ on: - '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: @@ -17,12 +17,12 @@ on: - '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' diff --git a/README.md b/README.md index 91289eba8..3fd5337dd 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ Python versions License Documentation - Units TestsUnits Tests + Units TestsUnits Tests

## Overview diff --git a/RELEASE.md b/RELEASE.md index 03d072d3b..94a4ee4aa 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -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 @@ -38,11 +38,11 @@ twice, so if something has to change after a publish, bump the version and push ### One-time setup - **PyPI**: on , 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