diff --git a/packages/capability-matrix/actions/sdk-compliance-check-setup/action.yml b/packages/capability-matrix/actions/sdk-compliance-check-setup/action.yml index dcfacd2..c36013a 100644 --- a/packages/capability-matrix/actions/sdk-compliance-check-setup/action.yml +++ b/packages/capability-matrix/actions/sdk-compliance-check-setup/action.yml @@ -1,11 +1,6 @@ name: Set up SDK compliance public API check description: Checks out the PR branch and base branch, then installs script dependencies. Expects the supabase/sdk checkout at _sdk-spec (the reusable workflows set it up). -inputs: - sdk-ref: - description: Transitional, only set by pre-v1.4.0 reusable workflows that reference this action remotely. When non-empty, the action checks out the capability spec itself at this ref. Remove once every caller references the action locally. - default: "" - runs: using: composite steps: @@ -20,17 +15,6 @@ runs: ref: ${{ github.event.pull_request.base.sha }} path: _sdk-base - # Transitional compatibility for pre-v1.4.0 reusable workflows: they - # reference this action remotely and always pass a non-empty sdk-ref. - # Current workflows check out _sdk-spec themselves and leave it empty. - - name: Checkout capability spec - if: ${{ inputs.sdk-ref != '' }} - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 - with: - repository: supabase/sdk - ref: ${{ inputs.sdk-ref }} - path: _sdk-spec - - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 with: node-version: "22" diff --git a/packages/capability-matrix/actions/sdk-compliance-validate/action.yml b/packages/capability-matrix/actions/sdk-compliance-validate/action.yml index e6f176b..9fae915 100644 --- a/packages/capability-matrix/actions/sdk-compliance-validate/action.yml +++ b/packages/capability-matrix/actions/sdk-compliance-validate/action.yml @@ -5,29 +5,9 @@ inputs: compliance-file: description: Path to sdk-compliance.yaml in the calling repo default: sdk-compliance.yaml - sdk-ref: - description: Transitional, only set by pre-v1.4.0 reusable workflows that reference this action remotely. When non-empty, the action performs its own checkouts at this ref. Remove once every caller references the action locally. - default: "" - runs: using: composite steps: - # Transitional compatibility for pre-v1.4.0 reusable workflows: they - # reference this action remotely (so nothing is checked out yet) and - # always pass a non-empty sdk-ref. Current workflows perform both - # checkouts themselves and leave sdk-ref empty. - - name: Checkout SDK repo - if: ${{ inputs.sdk-ref != '' }} - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 - - - name: Checkout capability spec - if: ${{ inputs.sdk-ref != '' }} - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 - with: - repository: supabase/sdk - ref: ${{ inputs.sdk-ref }} - path: _sdk-spec - - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 with: node-version: "22"