⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.
TypeScript honoissue-managementissue-trackerjira-alternativekanbanlinear-alternativemcpproject-managementreactself-hostedtypescript
ci: migrate workflows to Blacksmith runners (#1778)
blacksmith-sh[bot]9a494208c42b
diff --git a/.github/actionlint.yaml b/.github/actionlint.yamlnew file mode 100644index 000000000..12ce746f5--- /dev/null+++ b/.github/actionlint.yaml@@ -0,0 +1,3 @@+self-hosted-runner:+ labels:+ - blacksmith-4vcpu-ubuntu-2404diff --git a/.github/workflows/auto-assign.yml b/.github/workflows/auto-assign.ymlindex 632dfcea7..b50f599a6 100644--- a/.github/workflows/auto-assign.yml+++ b/.github/workflows/auto-assign.yml@@ -6,7 +6,7 @@ on:types: [opened]jobs:run:- runs-on: ubuntu-24.04+ runs-on: blacksmith-4vcpu-ubuntu-2404permissions:issues: writepull-requests: writediff --git a/.github/workflows/auto-merge.yml b/.github/workflows/auto-merge.ymlindex 548d374eb..fb16d5956 100644--- a/.github/workflows/auto-merge.yml+++ b/.github/workflows/auto-merge.yml@@ -11,7 +11,7 @@ permissions:jobs:dependabot:- runs-on: ubuntu-24.04+ runs-on: blacksmith-4vcpu-ubuntu-2404timeout-minutes: 45if: >-github.actor == 'dependabot[bot]' &&diff --git a/.github/workflows/build-images.yml b/.github/workflows/build-images.ymlindex 73c5f83a8..fa3400de0 100644--- a/.github/workflows/build-images.yml+++ b/.github/workflows/build-images.yml@@ -27,7 +27,7 @@ jobs:if: github.ref == 'refs/heads/main'name: ${{ matrix.name }}timeout-minutes: 45- runs-on: ubuntu-24.04+ runs-on: blacksmith-4vcpu-ubuntu-2404permissions:contents: readpackages: write@@ -47,7 +47,7 @@ jobs:steps:- name: Checkout repository- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1+ uses: useblacksmith/checkout@v1 # v7.0.1with:persist-credentials: falsefetch-depth: 0@@ -61,7 +61,7 @@ jobs:run: node scripts/security/verify-release-source.mjs "$SOURCE_MODE" "$RELEASE_VERSION"- name: Checkout verified source- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1+ uses: useblacksmith/checkout@v1 # v7.0.1with:persist-credentials: falseref: ${{ steps.source.outputs.source_sha }}@@ -77,8 +77,8 @@ jobs:- name: Set up QEMUuses: docker/setup-qemu-action@99012661954931238ded8c8b007157a8430204e1 # v4- - name: Set up Docker Buildx- uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4+ - name: Setup Blacksmith Builder+ uses: useblacksmith/setup-docker-builder@v1- name: Log in to GitHub Container Registryuses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4@@ -104,7 +104,7 @@ jobs:chmod 600 /tmp/sentry-build-secrets/SENTRY_AUTH_TOKEN- name: Build and push- uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7+ uses: useblacksmith/build-push-action@v2 # v7with:context: .file: ${{ matrix.dockerfile }}@@ -112,8 +112,6 @@ jobs:push: truetags: ${{ steps.meta.outputs.tags }}labels: ${{ steps.meta.outputs.labels }}- cache-from: type=gha,scope=${{ matrix.name }}- cache-to: type=gha,mode=max,scope=${{ matrix.name }}build-args: |SENTRY_ORG=${{ vars.SENTRY_ORG }}SENTRY_PROJECT=${{ vars.SENTRY_PROJECT }}diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 826af7640..5d7512aa4 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -16,10 +16,10 @@ permissions:jobs:peekareq-tests:- runs-on: ubuntu-24.04+ runs-on: blacksmith-4vcpu-ubuntu-2404timeout-minutes: 5steps:- - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1+ - uses: useblacksmith/checkout@v1 # v7.0.1with:persist-credentials: false- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7@@ -32,11 +32,11 @@ jobs:working-directory: scripts/ui-review-botlint:- runs-on: ubuntu-24.04+ runs-on: blacksmith-4vcpu-ubuntu-2404timeout-minutes: 15steps:- name: Checkout repository- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1+ uses: useblacksmith/checkout@v1 # v7.0.1- name: Setup pnpmuses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6@@ -56,11 +56,11 @@ jobs:run: pnpm exec biome ci .i18n:- runs-on: ubuntu-24.04+ runs-on: blacksmith-4vcpu-ubuntu-2404timeout-minutes: 15steps:- name: Checkout repository- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1+ uses: useblacksmith/checkout@v1 # v7.0.1with:persist-credentials: false@@ -82,11 +82,11 @@ jobs:run: pnpm i18n:checkopenapi:- runs-on: ubuntu-24.04+ runs-on: blacksmith-4vcpu-ubuntu-2404timeout-minutes: 15steps:- name: Checkout repository- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1+ uses: useblacksmith/checkout@v1 # v7.0.1with:persist-credentials: false@@ -108,11 +108,11 @@ jobs:run: pnpm openapi:checktypecheck:- runs-on: ubuntu-24.04+ runs-on: blacksmith-4vcpu-ubuntu-2404timeout-minutes: 15steps:- name: Checkout repository- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1+ uses: useblacksmith/checkout@v1 # v7.0.1- name: Setup pnpmuses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6@@ -132,11 +132,11 @@ jobs:run: pnpm typecheckunit:- runs-on: ubuntu-24.04+ runs-on: blacksmith-4vcpu-ubuntu-2404timeout-minutes: 15steps:- name: Checkout repository- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1+ uses: useblacksmith/checkout@v1 # v7.0.1- name: Setup pnpmuses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6@@ -164,11 +164,11 @@ jobs:run: pnpm testbuild:- runs-on: ubuntu-24.04+ runs-on: blacksmith-4vcpu-ubuntu-2404timeout-minutes: 15steps:- name: Checkout repository- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1+ uses: useblacksmith/checkout@v1 # v7.0.1- name: Setup pnpmuses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6@@ -192,7 +192,7 @@ jobs:integration:timeout-minutes: 15- runs-on: ubuntu-24.04+ runs-on: blacksmith-4vcpu-ubuntu-2404services:postgres:image: postgres:16@@ -216,7 +216,7 @@ jobs:DISABLE_GUEST_ACCESS: "false"steps:- name: Checkout repository- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1+ uses: useblacksmith/checkout@v1 # v7.0.1- name: Setup pnpmuses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6@@ -236,17 +236,17 @@ jobs:run: pnpm test:integrationdocker-build:- runs-on: ubuntu-24.04+ runs-on: blacksmith-4vcpu-ubuntu-2404timeout-minutes: 30steps:- name: Checkout repository- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1+ uses: useblacksmith/checkout@v1 # v7.0.1- - name: Set up Docker Buildx- uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4+ - name: Setup Blacksmith Builder+ uses: useblacksmith/setup-docker-builder@v1- name: Build bundled image for runtime tests- uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7+ uses: useblacksmith/build-push-action@v2 # v7with:context: .file: ./Dockerfile.kaneo@@ -254,8 +254,6 @@ jobs:push: falseload: truetags: kaneo:ci- cache-from: type=gha,scope=kaneo- cache-to: type=gha,mode=max,scope=kaneo- uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6with:@@ -301,10 +299,10 @@ jobs:run: docker compose --env-file /dev/null -p kaneo-ci -f scripts/ci/compose.yml --profile realtime --profile upgrade down -vworkflows:- runs-on: ubuntu-24.04+ runs-on: blacksmith-4vcpu-ubuntu-2404timeout-minutes: 5steps:- - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1+ - uses: useblacksmith/checkout@v1 # v7.0.1with:persist-credentials: false- name: Install verified actionlint@@ -321,10 +319,10 @@ jobs:shellcheck scripts/ci/*.shstorage:- runs-on: ubuntu-24.04+ runs-on: blacksmith-4vcpu-ubuntu-2404timeout-minutes: 10steps:- - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1+ - uses: useblacksmith/checkout@v1 # v7.0.1with:persist-credentials: false- uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6@@ -359,23 +357,22 @@ jobs:run: docker rm -f -v kaneo-storage-cisplit-images:- runs-on: ubuntu-24.04+ runs-on: blacksmith-4vcpu-ubuntu-2404timeout-minutes: 20strategy:fail-fast: falsematrix:name: [api, web]steps:- - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1+ - uses: useblacksmith/checkout@v1 # v7.0.1with:persist-credentials: false- - uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4+ - name: Setup Blacksmith Builder+ uses: useblacksmith/setup-docker-builder@v1- name: Build standalone image- uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7+ uses: useblacksmith/build-push-action@v2 # v7with:context: .file: ./apps/${{ matrix.name }}/Dockerfileplatforms: linux/amd64push: false- cache-from: type=gha,scope=${{ matrix.name }}- cache-to: type=gha,mode=max,scope=${{ matrix.name }}diff --git a/.github/workflows/code-review.yml b/.github/workflows/code-review.ymlindex dd7e8bbf4..da69d0518 100644--- a/.github/workflows/code-review.yml+++ b/.github/workflows/code-review.yml@@ -20,13 +20,13 @@ jobs:github.repository == 'usekaneo/kaneo' &&github.ref == format('refs/heads/{0}', github.event.repository.default_branch) &&(github.event_name == 'workflow_dispatch' || github.event.sender.login == 'peekareq[bot]')- runs-on: ubuntu-24.04+ runs-on: blacksmith-4vcpu-ubuntu-2404timeout-minutes: 5outputs:allowed: ${{ steps.request.outputs.allowed }}pr: ${{ steps.request.outputs.pr }}steps:- - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1+ - uses: useblacksmith/checkout@v1with:ref: ${{ github.workflow_sha }}persist-credentials: false@@ -43,13 +43,13 @@ jobs:review:needs: authorizeif: needs.authorize.outputs.allowed == 'true'- runs-on: ubuntu-24.04+ runs-on: blacksmith-4vcpu-ubuntu-2404timeout-minutes: 20concurrency:group: peekareview-${{ needs.authorize.outputs.pr }}cancel-in-progress: falsesteps:- - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1+ - uses: useblacksmith/checkout@v1with:ref: ${{ github.workflow_sha }}fetch-depth: 0diff --git a/.github/workflows/deploy-site.yml b/.github/workflows/deploy-site.ymlindex 4a76c4733..d2becc00b 100644--- a/.github/workflows/deploy-site.yml+++ b/.github/workflows/deploy-site.yml@@ -25,11 +25,11 @@ jobs:build:if: github.ref == 'refs/heads/main'name: Build static site- runs-on: ubuntu-latest+ runs-on: blacksmith-4vcpu-ubuntu-2404steps:- name: Checkout- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1+ uses: useblacksmith/checkout@v1 # v7.0.1- name: Setup Nodeuses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7@@ -66,7 +66,7 @@ jobs:name: github-pagesurl: ${{ steps.deployment.outputs.page_url }}needs: build- runs-on: ubuntu-latest+ runs-on: blacksmith-4vcpu-ubuntu-2404steps:- name: Deployid: deploymentdiff --git a/.github/workflows/helm-chart.yml b/.github/workflows/helm-chart.ymlindex 907b49190..3e383718a 100644--- a/.github/workflows/helm-chart.yml+++ b/.github/workflows/helm-chart.yml@@ -33,7 +33,7 @@ jobs:publish:if: github.ref == 'refs/heads/main' && inputs.version != ''- runs-on: ubuntu-24.04+ runs-on: blacksmith-4vcpu-ubuntu-2404needs: validatepermissions:contents: read@@ -41,7 +41,7 @@ jobs:steps:- name: Checkout repository- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1+ uses: useblacksmith/checkout@v1 # v7.0.1with:persist-credentials: falsefetch-depth: 0@@ -54,7 +54,7 @@ jobs:run: node scripts/security/verify-release-source.mjs released "$RELEASE_VERSION"- name: Checkout verified release tag- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1+ uses: useblacksmith/checkout@v1 # v7.0.1with:persist-credentials: falseref: ${{ steps.source.outputs.source_sha }}diff --git a/.github/workflows/helm-validate.yml b/.github/workflows/helm-validate.ymlindex f36daeb89..336557294 100644--- a/.github/workflows/helm-validate.yml+++ b/.github/workflows/helm-validate.yml@@ -10,7 +10,7 @@ jobs:validate:name: ${{ matrix.name }}timeout-minutes: 5- runs-on: ubuntu-24.04+ runs-on: blacksmith-4vcpu-ubuntu-2404permissions:contents: readstrategy:@@ -50,7 +50,7 @@ jobs:steps:- name: Checkout repository- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1+ uses: useblacksmith/checkout@v1 # v7.0.1with:persist-credentials: falsediff --git a/.github/workflows/issue-notify.yml b/.github/workflows/issue-notify.ymlindex 3860987fe..0bf9a2925 100644--- a/.github/workflows/issue-notify.yml+++ b/.github/workflows/issue-notify.yml@@ -8,7 +8,7 @@ permissions: {}jobs:notify:- runs-on: ubuntu-24.04+ runs-on: blacksmith-4vcpu-ubuntu-2404timeout-minutes: 5steps:- name: Post to Discorddiff --git a/.github/workflows/pr-size-labeler.yml b/.github/workflows/pr-size-labeler.ymlindex f202e1d9d..6c17c3836 100644--- a/.github/workflows/pr-size-labeler.yml+++ b/.github/workflows/pr-size-labeler.yml@@ -14,12 +14,12 @@ concurrency:jobs:label:- runs-on: ubuntu-24.04+ runs-on: blacksmith-4vcpu-ubuntu-2404timeout-minutes: 5steps:# Only read trusted base-branch configuration, including for fork PRs.- name: Checkout size configuration- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1+ uses: useblacksmith/checkout@v1 # v7.0.1with:ref: ${{ github.event.pull_request.base.sha }}persist-credentials: falsediff --git a/.github/workflows/pr-title.yml b/.github/workflows/pr-title.ymlindex 035a0544f..817760e96 100644--- a/.github/workflows/pr-title.yml+++ b/.github/workflows/pr-title.yml@@ -13,11 +13,11 @@ concurrency:jobs:title:- runs-on: ubuntu-24.04+ runs-on: blacksmith-4vcpu-ubuntu-2404timeout-minutes: 5steps:# Validate using the target branch's policy, not code supplied by the PR.- - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1+ - uses: useblacksmith/checkout@v1 # v7.0.1with:ref: ${{ github.event.pull_request.base.sha }}persist-credentials: falsediff --git a/.github/workflows/publish-mcp.yml b/.github/workflows/publish-mcp.ymlindex 38597616d..38ec103ef 100644--- a/.github/workflows/publish-mcp.yml+++ b/.github/workflows/publish-mcp.yml@@ -19,12 +19,12 @@ concurrency:jobs:publish:- runs-on: ubuntu-24.04+ runs-on: blacksmith-4vcpu-ubuntu-2404if: ${{ github.event_name == 'push' || startsWith(github.event.release.tag_name, 'mcp-v') }}steps:- name: Checkout repository- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1+ uses: useblacksmith/checkout@v1 # v7.0.1with:persist-credentials: falsefetch-depth: 0@@ -112,13 +112,13 @@ jobs:publish-registry:needs: publish- runs-on: ubuntu-24.04+ runs-on: blacksmith-4vcpu-ubuntu-2404permissions:contents: readid-token: writesteps:- name: Checkout repository- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1+ uses: useblacksmith/checkout@v1 # v7.0.1with:persist-credentials: falsediff --git a/.github/workflows/publish-planka-import.yml b/.github/workflows/publish-planka-import.ymlindex e47af027b..7cd2f46f4 100644--- a/.github/workflows/publish-planka-import.yml+++ b/.github/workflows/publish-planka-import.yml@@ -18,12 +18,12 @@ concurrency:jobs:publish:- runs-on: ubuntu-24.04+ runs-on: blacksmith-4vcpu-ubuntu-2404if: ${{ github.event_name == 'push' || startsWith(github.event.release.tag_name, 'planka-import-v') }}steps:- name: Checkout repository- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1+ uses: useblacksmith/checkout@v1 # v7.0.1with:persist-credentials: falsefetch-depth: 0diff --git a/.github/workflows/release-notify.yml b/.github/workflows/release-notify.ymlindex d644a59dc..ae7c8b45d 100644--- a/.github/workflows/release-notify.yml+++ b/.github/workflows/release-notify.yml@@ -8,7 +8,7 @@ permissions: {}jobs:notify:- runs-on: ubuntu-24.04+ runs-on: blacksmith-4vcpu-ubuntu-2404timeout-minutes: 5steps:- name: Post to Discorddiff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex a883fcd2c..f40d9cad8 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -32,7 +32,7 @@ jobs:plan:name: Plantimeout-minutes: 15- runs-on: ubuntu-24.04+ runs-on: blacksmith-4vcpu-ubuntu-2404permissions:contents: write # semantic-release verifies push permission even on a dry runoutputs:@@ -46,7 +46,7 @@ jobs:fi- name: Checkout repository- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1+ uses: useblacksmith/checkout@v1 # v7.0.1with:fetch-depth: 0@@ -99,13 +99,13 @@ jobs:name: Verify CI for release sourceneeds: planif: ${{ !inputs.dry_run && needs.plan.outputs.version != '' }}- runs-on: ubuntu-24.04+ runs-on: blacksmith-4vcpu-ubuntu-2404timeout-minutes: 35permissions:contents: readactions: readsteps:- - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1+ - uses: useblacksmith/checkout@v1 # v7.0.1with:persist-credentials: false- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7@@ -144,7 +144,7 @@ jobs:needs: [plan, images, chart]if: ${{ !inputs.dry_run && needs.plan.outputs.version != '' }}timeout-minutes: 15- runs-on: ubuntu-24.04+ runs-on: blacksmith-4vcpu-ubuntu-2404permissions:contents: writeissues: write@@ -155,7 +155,7 @@ jobs:# The same token the API calls use, so the release commit and tag are not# pushed under a different identity than the one that was verified.- name: Checkout repository- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1+ uses: useblacksmith/checkout@v1 # v7.0.1with:fetch-depth: 0token: ${{ secrets.RELEASE_TOKEN || secrets.GITHUB_TOKEN }}@@ -204,7 +204,7 @@ jobs:name: Promoteneeds: [plan, release]timeout-minutes: 15- runs-on: ubuntu-24.04+ runs-on: blacksmith-4vcpu-ubuntu-2404permissions:contents: readpackages: writediff --git a/.github/workflows/ui-review-run.yml b/.github/workflows/ui-review-run.ymlindex 2fef20cb8..b93cb8738 100644--- a/.github/workflows/ui-review-run.yml+++ b/.github/workflows/ui-review-run.yml@@ -21,12 +21,12 @@ permissions:jobs:plan:- runs-on: ubuntu-24.04+ runs-on: blacksmith-4vcpu-ubuntu-2404timeout-minutes: 10outputs:artifact: ${{ steps.plan-artifact.outputs.artifact-id }}steps:- - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1+ - uses: useblacksmith/checkout@v1 # v7.0.1with:ref: ${{ github.workflow_sha }}fetch-depth: 0@@ -53,13 +53,13 @@ jobs:capture:needs: plan- runs-on: ubuntu-24.04+ runs-on: blacksmith-4vcpu-ubuntu-2404timeout-minutes: 25# PR code executes only on this disposable runner, without provider secrets or write permissions.outputs:artifact: ${{ steps.capture-artifact.outputs.artifact-id }}steps:- - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1+ - uses: useblacksmith/checkout@v1 # v7.0.1with:ref: ${{ github.workflow_sha }}fetch-depth: 0@@ -92,10 +92,10 @@ jobs:review-and-post:needs: [plan, capture]- runs-on: ubuntu-24.04+ runs-on: blacksmith-4vcpu-ubuntu-2404timeout-minutes: 15steps:- - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1+ - uses: useblacksmith/checkout@v1 # v7.0.1with:ref: ${{ github.workflow_sha }}persist-credentials: falsediff --git a/.github/workflows/ui-review.yml b/.github/workflows/ui-review.ymlindex 16ce5c904..826cf00de 100644--- a/.github/workflows/ui-review.yml+++ b/.github/workflows/ui-review.yml@@ -26,14 +26,14 @@ jobs:github.ref == format('refs/heads/{0}', github.event.repository.default_branch) &&(github.event_name == 'workflow_dispatch' ||(github.event_name == 'repository_dispatch' && github.event.sender.login == 'peekareq[bot]'))- runs-on: ubuntu-24.04+ runs-on: blacksmith-4vcpu-ubuntu-2404timeout-minutes: 5outputs:allowed: ${{ steps.request.outputs.allowed }}pr: ${{ steps.request.outputs.pr }}model: ${{ steps.request.outputs.model }}steps:- - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1+ - uses: useblacksmith/checkout@v1 # v7.0.1with:ref: ${{ github.workflow_sha }}persist-credentials: falsediff --git a/.github/workflows/update-contributors.yml b/.github/workflows/update-contributors.ymlindex 2e920c0ca..174ecb6e7 100644--- a/.github/workflows/update-contributors.yml+++ b/.github/workflows/update-contributors.yml@@ -13,7 +13,7 @@ on:jobs:update-contributors:if: github.ref == 'refs/heads/main'- runs-on: ubuntu-latest+ runs-on: blacksmith-4vcpu-ubuntu-2404permissions:contents: writepull-requests: read@@ -23,7 +23,7 @@ jobs:steps:- name: Checkout repository- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1+ uses: useblacksmith/checkout@v1 # v7.0.1- name: Generate Contributors Imagesuses: jaywcjlove/github-action-contributors@86707f6d4c2469ce6b46bc3367253ebd41ee242c # main@@ -64,7 +64,7 @@ jobs:deploy-site:needs: update-contributorsif: needs.update-contributors.outputs.pushed == 'true' && github.ref == 'refs/heads/main'- runs-on: ubuntu-24.04+ runs-on: blacksmith-4vcpu-ubuntu-2404permissions:actions: writesteps:diff --git a/scripts/openapi/check.mjs b/scripts/openapi/check.mjsindex df82c7422..ed2ddc560 100644--- a/scripts/openapi/check.mjs+++ b/scripts/openapi/check.mjs@@ -28,25 +28,26 @@ const RUN = {},};+// Standalone pnpm (@pnpm/exe) exposes a native binary as npm_execpath, which Node cannot load.+const runsViaNode = /\.[cm]?js$/.test(packageManager);+function pnpm(args) {+ if (runsViaNode) {+ execFileSync(process.execPath, [packageManager, ...args], RUN);+ } else {+ execFileSync(packageManager, args, RUN);+ }+}+function generate(into) {- execFileSync(- process.execPath,- [packageManager, "turbo", "build", "--filter=@kaneo/api^..."],- RUN,- );- execFileSync(- process.execPath,- [- packageManager,- "--filter",- "@kaneo/api",- "exec",- "tsx",- "scripts/export-openapi.ts",- into,- ],- RUN,- );+ pnpm(["turbo", "build", "--filter=@kaneo/api^..."]);+ pnpm([+ "--filter",+ "@kaneo/api",+ "exec",+ "tsx",+ "scripts/export-openapi.ts",+ into,+ ]);}function run() {