From 98cff53e0a5ffd9ec507b2690c7e351a1b8c3f0b Mon Sep 17 00:00:00 2001 From: Antony Rizzitelli Date: Thu, 19 Nov 2026 07:06:30 +0000 Subject: [PATCH 1/2] build: roll out the trunk CI with tooling-configs 0.8.9 --- .github/workflows/ci.yml | 9 ++++++-- .github/workflows/next-sync.yml | 16 ------------- .github/workflows/release.yml | 4 +++- .github/workflows/stale.yml | 16 ------------- package.json | 2 +- pnpm-lock.yaml | 40 +++++++++++++-------------------- 6 files changed, 27 insertions(+), 60 deletions(-) delete mode 100644 .github/workflows/next-sync.yml delete mode 100644 .github/workflows/stale.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a2e73e4..276542d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,9 +2,10 @@ name: CI on: pull_request: - types: [opened, synchronize, reopened, ready_for_review] + types: [opened, synchronize, reopened, ready_for_review, labeled, unlabeled] + merge_group: push: - branches: [next] + branches: [main] schedule: - cron: "17 2 * * *" workflow_dispatch: @@ -22,12 +23,16 @@ jobs: docs-typescript-project: docs/tsconfig.json renovate-sync: false test-job: true + affected-tests: true permissions: contents: read + secrets: + NOTION_TOKEN: ${{ secrets.NOTION_TOKEN }} renovate-sync: if: >- github.event_name == 'pull_request' && startsWith(github.head_ref, 'renovate/') && github.event.pull_request.head.repo.full_name == github.repository permissions: contents: write actions: write + statuses: write uses: AntelopeJS/.github/.github/workflows/ci-renovate-sync.yml@v2 diff --git a/.github/workflows/next-sync.yml b/.github/workflows/next-sync.yml deleted file mode 100644 index 2a1228b..0000000 --- a/.github/workflows/next-sync.yml +++ /dev/null @@ -1,16 +0,0 @@ -name: Next sync - -on: - push: - branches: [main] - -permissions: {} - -jobs: - next-sync: - permissions: - issues: write - uses: AntelopeJS/.github/.github/workflows/next-sync.yml@v2 - secrets: - RELEASE_GITHUB_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN }} - NOTION_TOKEN: ${{ secrets.NOTION_TOKEN }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 85dc9fa..0b6f68a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,7 +2,9 @@ name: Release on: push: - branches: [next] + branches: [main] + pull_request: + types: [labeled, synchronize, reopened] workflow_dispatch: inputs: release-version: diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml deleted file mode 100644 index e26acfc..0000000 --- a/.github/workflows/stale.yml +++ /dev/null @@ -1,16 +0,0 @@ -name: Stale issues - -on: - schedule: - - cron: "30 1 * * *" - workflow_dispatch: - -permissions: {} - -jobs: - stale: - permissions: - actions: write - issues: write - pull-requests: write - uses: AntelopeJS/.github/.github/workflows/stale.yml@v2 diff --git a/package.json b/package.json index 404410e..dd36b40 100644 --- a/package.json +++ b/package.json @@ -61,7 +61,7 @@ "@antelopejs/api": "~1.7.3", "@antelopejs/core": "~1.23.0", "@antelopejs/interface-core": ">=0.5.1 <0.6.0", - "@antelopejs/tooling-configs": ">=0.8.0 <0.9.0", + "@antelopejs/tooling-configs": ">=0.8.9 <0.9.0", "@types/mocha": "^10.0.10", "@types/node": "^22.19.15", "@types/sinon": "^17.0.4", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 067ebf9..8bce715 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -21,8 +21,8 @@ importers: specifier: '>=0.5.1 <0.6.0' version: 0.5.1 '@antelopejs/tooling-configs': - specifier: '>=0.8.0 <0.9.0' - version: 0.8.0(eslint-plugin-perfectionist@5.11.0(eslint@10.10.0(jiti@2.7.0))(typescript@5.9.3))(knip@6.34.0)(oxfmt@0.66.0)(oxlint@1.81.0(oxlint-tsgolint@7.0.2001)) + specifier: '>=0.8.9 <0.9.0' + version: 0.8.9(eslint-plugin-perfectionist@5.11.0(eslint@10.10.0(jiti@2.7.0))(typescript@5.9.3))(knip@6.34.0)(oxfmt@0.66.0)(oxlint@1.81.0(oxlint-tsgolint@7.0.2001)) '@types/mocha': specifier: ^10.0.10 version: 10.0.10 @@ -96,8 +96,8 @@ packages: '@antelopejs/interface-core@0.5.1': resolution: {integrity: sha512-ON/7TYA1yyT8UznzKi6vnwyjRU3byNE0OcFXBmf8dE/dqp8hKjeWHVyA2EUPOngmEimCLw4idZqOS5DJqMJx3g==} - '@antelopejs/tooling-configs@0.8.0': - resolution: {integrity: sha512-o2sec/CFUH//QtXUjGpbeFp0D/QI0H5+59nDoihgz4biEE2D5Z+o1r69yY9c7cRyOY1nnFxiHluuhKoylasc1g==} + '@antelopejs/tooling-configs@0.8.9': + resolution: {integrity: sha512-DMar3gDUBy73qpAqv8coGCmvIBrZ12FtyYwD+Igqn6jrb92GMxZAuI2YlW9pED9tS3tdk17+aZRIyVO0oDacHA==} engines: {node: '>=22.18.0'} hasBin: true peerDependencies: @@ -105,8 +105,8 @@ packages: eslint-plugin-perfectionist: '>=5.0.0' knip: '>=6.0.0' mongodb-memory-server: '>=10.0.0' - oxfmt: ^0.66.0 || ^0.77.0 - oxlint: 1.81.0 + oxfmt: ^0.66.0 || ^0.77.0 || ^0.79.0 + oxlint: 1.81.0 || 1.94.0 pixelmatch: '>=7.0.0' playwright-core: '>=1.56.0' sharp: '>=0.34.0' @@ -885,8 +885,8 @@ packages: cpu: [x64] os: [win32] - '@oxlint/plugins@1.81.0': - resolution: {integrity: sha512-HhD8kd3r6XpelZkhxhRty/po8V6yK1VV63Eq4kSsOS2IoHUywG3DV2EX+z/ZHw46aLI74Y6aA604NRiAqLKW9w==} + '@oxlint/plugins@1.94.0': + resolution: {integrity: sha512-YT6htikBOBQ00XDxZpRZLZ0anEDo7h9s4+YvjRU0/Ng/cLd0D6SZQ3tsms4g/GDer/z8UKlegC5iptEfyRXJcw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} '@phun-ky/typeof@2.0.3': @@ -1186,10 +1186,6 @@ packages: brace-expansion@2.1.7: resolution: {integrity: sha512-uZbew1NqdmPDTMJ8ah1y+b+9QEJrfkXFk3RcTQw3X0jW/xRUvFKsg1CfQdSYGdTbXZWExtU3J3ccxtnfw1Fi0g==} - brace-expansion@5.0.12: - resolution: {integrity: sha512-YovQ3rzhaLMIrDjNDMkNS01tea93qhEhG5xy8f6+R0l+dw3Ki+5sCoIoI942iuLZTHWogWktgwVDhU09iNEimQ==} - engines: {node: 20 || >=22} - brace-expansion@5.0.13: resolution: {integrity: sha512-Vh3dmFbc4wZeox7M9I/0L9GfFd83Su4+yCck/OF9Gi/P/dAHn0RT7X4K9R7gMNMhDck3DvhR6QXsnQdjjgwNvQ==} engines: {node: 20 || >=22} @@ -1953,8 +1949,8 @@ packages: resolution: {integrity: sha512-vpLQEs+VLCr1nU0BXS07maYoFwlDAH0gngQuuttxIwutDFEMHq2blX+8vpgxDdK3J1PwjCJiep77OitTZ4Ll1A==} engines: {node: 18 || 20 || >=22} - minimatch@11.0.8: - resolution: {integrity: sha512-nFQuYSTVrGvysVBps5Ih+0BdnYFN/Cj3C816r6+p7yK+FHrVLGE4O4N9AFwykrlNlvM2HYt+Rad1Uiro6h88Ig==} + minimatch@11.0.9: + resolution: {integrity: sha512-KCFkfyjqerNlSstjlhIGNXIKZGA/6O4V4RlhZ+Dsr621SPPw0mzlypE9D9ZOoPiVefHID+j7/XuMMlqfD/F60Q==} engines: {node: 20 || >=22} minimatch@3.1.5: @@ -2722,9 +2718,9 @@ snapshots: dependencies: reflect-metadata: 0.2.2 - '@antelopejs/tooling-configs@0.8.0(eslint-plugin-perfectionist@5.11.0(eslint@10.10.0(jiti@2.7.0))(typescript@5.9.3))(knip@6.34.0)(oxfmt@0.66.0)(oxlint@1.81.0(oxlint-tsgolint@7.0.2001))': + '@antelopejs/tooling-configs@0.8.9(eslint-plugin-perfectionist@5.11.0(eslint@10.10.0(jiti@2.7.0))(typescript@5.9.3))(knip@6.34.0)(oxfmt@0.66.0)(oxlint@1.81.0(oxlint-tsgolint@7.0.2001))': dependencies: - '@oxlint/plugins': 1.81.0 + '@oxlint/plugins': 1.94.0 dts-bundle-generator: 9.5.1 minimatch: 10.2.6 semver: 7.8.6 @@ -2807,7 +2803,7 @@ snapshots: dependencies: '@eslint/object-schema': 3.0.5 debug: 4.4.3(supports-color@8.1.1) - minimatch: 11.0.8 + minimatch: 11.0.9 transitivePeerDependencies: - supports-color @@ -3312,7 +3308,7 @@ snapshots: '@oxlint/binding-win32-x64-msvc@1.81.0': optional: true - '@oxlint/plugins@1.81.0': {} + '@oxlint/plugins@1.94.0': {} '@phun-ky/typeof@2.0.3': {} @@ -3559,10 +3555,6 @@ snapshots: dependencies: balanced-match: 1.0.2 - brace-expansion@5.0.12: - dependencies: - balanced-match: 4.0.4 - brace-expansion@5.0.13: dependencies: balanced-match: 4.0.4 @@ -4345,9 +4337,9 @@ snapshots: minimatch@10.2.6: dependencies: - brace-expansion: 5.0.12 + brace-expansion: 5.0.13 - minimatch@11.0.8: + minimatch@11.0.9: dependencies: '@isaacs/nonrecursive-glob-match': 1.1.0 brace-expansion: 5.0.13 From 71c3dac944eabf2e8f820193f9bd8c2ca01c7a15 Mon Sep 17 00:00:00 2001 From: Antony Rizzitelli Date: Thu, 19 Nov 2026 07:06:39 +0000 Subject: [PATCH 2/2] ci: start the checks on the ready pull request