From a029ad3172447e0ae04fc94ec928182a131f430a Mon Sep 17 00:00:00 2001 From: Ryan Waits Date: Wed, 11 Feb 2026 12:06:02 -0600 Subject: [PATCH 1/2] test: drift docs-sync workflow with breaking changes --- .github/workflows/drift.yml | 23 +++++++++++++++++++++++ drift.config.json | 11 +++++++++++ packages/stacks/src/index.ts | 10 +++++----- 3 files changed, 39 insertions(+), 5 deletions(-) create mode 100644 .github/workflows/drift.yml create mode 100644 drift.config.json diff --git a/.github/workflows/drift.yml b/.github/workflows/drift.yml new file mode 100644 index 0000000..a0a5cdc --- /dev/null +++ b/.github/workflows/drift.yml @@ -0,0 +1,23 @@ +name: Drift CI + +on: + pull_request: + types: [opened, synchronize, reopened, closed] + branches: [main] + +permissions: + contents: write + pull-requests: write + +jobs: + drift: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - uses: ryanwaits/drift@main + with: + anthropic-key: ${{ secrets.ANTHROPIC_API_KEY }} + min-coverage: '0' diff --git a/drift.config.json b/drift.config.json new file mode 100644 index 0000000..2722391 --- /dev/null +++ b/drift.config.json @@ -0,0 +1,11 @@ +{ + "entry": "packages/stacks/src/index.ts", + "coverage": { + "min": 0 + }, + "docs": { + "remote": [ + { "repo": "ryanwaits/secondlayer-docs" } + ] + } +} diff --git a/packages/stacks/src/index.ts b/packages/stacks/src/index.ts index 337ca4f..1fc3720 100644 --- a/packages/stacks/src/index.ts +++ b/packages/stacks/src/index.ts @@ -1,22 +1,22 @@ // Clients export { createClient, - createPublicClient, + createPublicClient as createReadClient, createWalletClient, createMultiSigClient, - publicActions, + publicActions as readActions, walletActions, multisigActions, } from "./clients/index.ts"; export type { Client, ClientConfig, - PublicClient, + PublicClient as ReadClient, WalletClient, Account, - PublicClientConfig, + PublicClientConfig as ReadClientConfig, WalletClientConfig, - PublicActions, + PublicActions as ReadActions, WalletActions, MultiSigClientConfig, MultiSigClient, From e5041fd0a1161e512d95dbd22fdd62b101a178a4 Mon Sep 17 00:00:00 2001 From: Ryan Waits Date: Wed, 11 Feb 2026 12:06:50 -0600 Subject: [PATCH 2/2] fix: correct action path to ryanwaits/drift/action --- .github/workflows/drift.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/drift.yml b/.github/workflows/drift.yml index a0a5cdc..1b01e07 100644 --- a/.github/workflows/drift.yml +++ b/.github/workflows/drift.yml @@ -17,7 +17,7 @@ jobs: with: fetch-depth: 0 - - uses: ryanwaits/drift@main + - uses: ryanwaits/drift/action@main with: anthropic-key: ${{ secrets.ANTHROPIC_API_KEY }} min-coverage: '0'