🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
ci(GitHub actions): pin to SHA and configure dependabot for GH actions (#12916)
Tobias Wochinger1bfc25352dbb
diff --git a/.github/dependabot.yml b/.github/dependabot.ymlindex 6a7a51a601..18eeea7063 100644--- a/.github/dependabot.yml+++ b/.github/dependabot.yml@@ -49,3 +49,15 @@ updates:radix-ui:patterns:- "@radix-ui/*"++ - package-ecosystem: github-actions+ directory: "/"+ schedule:+ interval: "weekly"+ commit-message:+ prefix: ci+ include: scope+ groups:+ github-actions:+ patterns:+ - "*"diff --git a/.github/workflows/_deploy_ecs_service.yml b/.github/workflows/_deploy_ecs_service.ymlindex 8200ab8b99..914338f929 100644--- a/.github/workflows/_deploy_ecs_service.yml+++ b/.github/workflows/_deploy_ecs_service.yml@@ -16,24 +16,24 @@ jobs:environment: ${{ inputs.environment }}steps:- name: Get app name- uses: winterjung/split@v2+ uses: winterjung/split@a211a1c46e35fcdc4097d59dd6282d4a9859651b # v2id: splitwith:msg: ${{ inputs.service }}separator: "-"- name: Checkout code- uses: actions/checkout@v4+ uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4- name: Authenticate with AWS# GitHub/AWS recommend to use OIDC here: https://github.com/aws-actions/configure-aws-credentials?tab=readme-ov-file#oidc# Probably more painful to configure, but would remove all long-lived credentials.- uses: aws-actions/configure-aws-credentials@v4+ uses: aws-actions/configure-aws-credentials@7474bc4690e29a8392af63c5b98e7449536d5c3a # v4with:aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}aws-region: ${{ vars.AWS_REGION }}- name: Login to AWS ECRid: login-ecr- uses: aws-actions/amazon-ecr-login@v2+ uses: aws-actions/amazon-ecr-login@183a1442edf41672e66566b7fc560e297a290896 # v2- name: Build, tag, and push Docker imageenv:REGISTRY: ${{ steps.login-ecr.outputs.registry }}@@ -61,13 +61,13 @@ jobs:docker push $REGISTRY/$REPOSITORY:$IMAGE_TAG- name: Render AWS ECS Task Definitionid: render-task-definition- uses: aws-actions/amazon-ecs-render-task-definition@v1+ uses: aws-actions/amazon-ecs-render-task-definition@77954e213ba1f9f9cb016b86a1d4f6fcdea0d57e # v1with:container-name: ${{ inputs.service }}image: ${{ steps.login-ecr.outputs.registry }}/${{ steps.split.outputs._0 }}:${{ github.sha }}task-definition-family: ${{ inputs.environment }}-${{ inputs.service }}- name: Update AWS ECS Service- uses: aws-actions/amazon-ecs-deploy-task-definition@v2+ uses: aws-actions/amazon-ecs-deploy-task-definition@fc8fc60f3a60ffd500fcb13b209c59d221ac8c8c # v2with:task-definition: ${{ steps.render-task-definition.outputs.task-definition }}service: ${{ inputs.environment }}-${{ inputs.service }}diff --git a/.github/workflows/ci.yml.template b/.github/workflows/ci.yml.templateindex 3ba99a6623..bfefcfd53a 100644--- a/.github/workflows/ci.yml.template+++ b/.github/workflows/ci.yml.template@@ -22,18 +22,18 @@ jobs:steps:- name: Checkout repo- uses: actions/checkout@v4+ uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4- name: Start containersrun: docker compose -f "docker-compose.yml" up -d --build- name: Setup pnpm- uses: pnpm/action-setup@v3+ uses: pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d # v3with:version: 10.33.0- name: Setup Node 18- uses: actions/setup-node@v4+ uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4with:node-version: 18@@ -43,7 +43,7 @@ jobs:echo "pnpm_cache_dir=$(pnpm store path)" >> $GITHUB_OUTPUT- name: Setup pnpm cache- uses: actions/cache@v3+ uses: actions/cache@6f8efc29b200d32929f49075959781ed54ec270c # v3with:path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}diff --git a/.github/workflows/claude-review-maintainer-prs.yml b/.github/workflows/claude-review-maintainer-prs.ymlindex 0165598889..50193b89ee 100644--- a/.github/workflows/claude-review-maintainer-prs.yml+++ b/.github/workflows/claude-review-maintainer-prs.yml@@ -16,7 +16,7 @@ jobs:steps:- name: Check author permission and existing review requestid: check- uses: actions/github-script@v7+ uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7with:script: |const owner = context.repo.owner;@@ -57,7 +57,7 @@ jobs:- name: Add Claude review commentif: steps.check.outputs.should_comment == 'true'- uses: actions/github-script@v7+ uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7with:script: |await github.rest.issues.createComment({diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.ymlindex 7fb1350e0a..21034c24a5 100644--- a/.github/workflows/codeql.yml+++ b/.github/workflows/codeql.yml@@ -55,11 +55,11 @@ jobs:# your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languagessteps:- name: Checkout repository- uses: actions/checkout@v4+ uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4# Initializes the CodeQL tools for scanning.- name: Initialize CodeQL- uses: github/codeql-action/init@v3+ uses: github/codeql-action/init@5c8a8a642e79153f5d047b10ec1cba1d1cc65699 # v3with:languages: ${{ matrix.language }}build-mode: ${{ matrix.build-mode }}@@ -87,6 +87,6 @@ jobs:exit 1- name: Perform CodeQL Analysis- uses: github/codeql-action/analyze@v3+ uses: github/codeql-action/analyze@5c8a8a642e79153f5d047b10ec1cba1d1cc65699 # v3with:category: "/language:${{matrix.language}}"diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.ymlindex 870063c93f..3977420d3b 100644--- a/.github/workflows/codespell.yml+++ b/.github/workflows/codespell.yml@@ -22,6 +22,6 @@ jobs:steps:- name: Checkout- uses: actions/checkout@v3+ uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3- name: Codespell- uses: codespell-project/actions-codespell@v2+ uses: codespell-project/actions-codespell@406322ec52dd7b488e48c1c4b82e2a8b3a1bf630 # v2diff --git a/.github/workflows/dependabot-rebase-stale.yml b/.github/workflows/dependabot-rebase-stale.ymlindex d4ec52f1af..53f972653d 100644--- a/.github/workflows/dependabot-rebase-stale.yml+++ b/.github/workflows/dependabot-rebase-stale.yml@@ -12,7 +12,7 @@ jobs:environment: "protected branches"steps:- name: "Rebase open Dependabot PR"- uses: orange-buffalo/dependabot-auto-rebase@v1+ uses: orange-buffalo/dependabot-auto-rebase@fa9e05d7a8152381af0a92ffca942a0d46712544 # v1with:api-token: ${{ secrets.GH_ACCESS_TOKEN }}repository: ${{ github.repository }}diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.ymlindex 1aba0aad92..d2718c9929 100644--- a/.github/workflows/deploy.yml+++ b/.github/workflows/deploy.yml@@ -41,7 +41,7 @@ jobs:steps:- name: Get affected servicesid: affected-services- uses: actions/github-script@v7+ uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7with:script: |if (context.eventName === "workflow_dispatch") {@@ -56,7 +56,7 @@ jobs:return "[]"result-encoding: string- name: Print services to build- uses: actions/github-script@v7+ uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7env:services: ${{ steps.affected-services.outputs.result }}with:@@ -71,7 +71,7 @@ jobs:steps:- name: Get affected environmentsid: affected-environments- uses: actions/github-script@v7+ uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7with:script: |if (context.eventName === "workflow_dispatch") {@@ -88,7 +88,7 @@ jobs:return "[]"result-encoding: string- name: Print environments to build- uses: actions/github-script@v7+ uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7env:environments: ${{ steps.affected-environments.outputs.result }}with:diff --git a/.github/workflows/licencecheck.yml b/.github/workflows/licencecheck.ymlindex 40d2b2d92e..e543f347b5 100644--- a/.github/workflows/licencecheck.yml+++ b/.github/workflows/licencecheck.yml@@ -14,10 +14,10 @@ jobs:runs-on: ubuntu-lateststeps:- name: Checkout code- uses: actions/checkout@v4+ uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4- name: Setup node- uses: actions/setup-node@v4+ uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4with:node-version: 18@@ -32,7 +32,7 @@ jobs:- name: Check license-checker CSV file without headersid: license_check_report- uses: pilosus/action-pip-license-checker@v2+ uses: pilosus/action-pip-license-checker@cc7a461bfa27b44ad187b8578c881ef5138c13fd # v2with:external: "npm-license-checker.csv"external-format: "csv"diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.ymlindex 5cd676bae4..750839d06c 100644--- a/.github/workflows/pipeline.yml+++ b/.github/workflows/pipeline.yml@@ -27,16 +27,16 @@ jobs:pull-requests: readsteps:- id: skip_check- uses: fkirc/skip-duplicate-actions@v5+ uses: fkirc/skip-duplicate-actions@f75f66ce1886f00957d99748a42c724f4330bdcf # v5with:do_not_skip: '["workflow_dispatch"]'- - uses: actions/checkout@v4+ - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4with:# Recommended for paths-filter action# may save additional git fetch roundtrip if# merge-base is found within latest N commitsfetch-depth: 20- - uses: dorny/paths-filter@v3+ - uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3id: filterwith:filters: |@@ -50,17 +50,17 @@ jobs:- pre-jobif: needs.pre-job.outputs.should_skip != 'true'steps:- - uses: actions/checkout@v4- - uses: pnpm/action-setup@v3+ - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4+ - uses: pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d # v3with:version: 10.33.0- - uses: actions/setup-node@v4+ - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4with:node-version: 24cache: "pnpm"cache-dependency-path: "pnpm-lock.yaml"- name: Setup Turbo cache- uses: actions/cache@v4+ uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4with:path: .turbokey: ${{ runner.os }}-turbo-lint-${{ github.sha }}@@ -82,13 +82,13 @@ jobs:- pre-jobif: needs.pre-job.outputs.should_skip != 'true'steps:- - uses: actions/checkout@v4+ - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4with:fetch-depth: 0- - uses: pnpm/action-setup@v3+ - uses: pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d # v3with:version: 10.33.0- - uses: actions/setup-node@v4+ - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4with:node-version: 24cache: "pnpm"@@ -129,10 +129,10 @@ jobs:DOCKER_COMPOSE_FILE: docker-compose.build.ymlsteps:- name: Checkout- uses: actions/checkout@v4+ uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4- name: Login to Docker Hubif: github.repository == 'langfuse/langfuse' && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository)- uses: docker/login-action@v3+ uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3with:username: ${{ secrets.DOCKERHUB_USERNAME_READ }}password: ${{ secrets.DOCKERHUB_TOKEN_READ }}@@ -178,7 +178,7 @@ jobs:done- name: Upload docker diagnosticsif: failure()- uses: actions/upload-artifact@v4+ uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4with:name: test-docker-build-diagnostics-${{ github.run_id }}-${{ github.run_attempt }}path: /tmp/docker-diagnostics@@ -197,23 +197,23 @@ jobs:deploy-mode: ["", "-azure", "-redis-cluster"]shard: [1, 2, 3]steps:- - uses: actions/checkout@v4+ - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4- name: Install golang-migrate for Clickhouse migrationsrun: |curl -L https://github.com/golang-migrate/migrate/releases/download/v4.19.1/migrate.linux-amd64.tar.gz | tar xvzsudo mv migrate /usr/bin/migratewhich migrate- - uses: pnpm/action-setup@v3+ - uses: pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d # v3with:version: 10.33.0- name: Login to Docker Hubif: github.repository == 'langfuse/langfuse' && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository)- uses: docker/login-action@v3+ uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3with:username: ${{ secrets.DOCKERHUB_USERNAME_READ }}password: ${{ secrets.DOCKERHUB_TOKEN_READ }}- name: Use Node.js ${{ matrix.node-version }}- uses: actions/setup-node@v4+ uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4with:node-version: ${{ matrix.node-version }}cache: "pnpm"@@ -232,14 +232,14 @@ jobs:echo "ADMIN_API_KEY=admin-api-key" >> .envecho "LANGFUSE_EE_LICENSE_KEY=langfuse_ee_test" >> .env- name: Setup Turbo cache- uses: actions/cache@v4+ uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4with:path: .turbokey: ${{ runner.os }}-turbo-${{ github.sha }}restore-keys: |${{ runner.os }}-turbo-- name: Cache Next.js builds- uses: actions/cache@v4+ uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4with:path: |~/.npm@@ -310,18 +310,18 @@ jobs:postgres-version: [12, 15]deploy-mode: ["", "-azure", "-redis-cluster"]steps:- - uses: actions/checkout@v4- - uses: pnpm/action-setup@v3+ - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4+ - uses: pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d # v3with:version: 10.33.0- name: Login to Docker Hubif: github.repository == 'langfuse/langfuse' && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository)- uses: docker/login-action@v3+ uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3with:username: ${{ secrets.DOCKERHUB_USERNAME_READ }}password: ${{ secrets.DOCKERHUB_TOKEN_READ }}- name: Use Node.js ${{ matrix.node-version }}- uses: actions/setup-node@v4+ uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4with:node-version: ${{ matrix.node-version }}cache: "pnpm"@@ -381,18 +381,18 @@ jobs:if: startsWith(github.ref, 'refs/tags/') || (needs.pre-job.outputs.should_skip != 'true' && (needs.pre-job.outputs.llm_connections_changed == 'true' || github.event_name == 'workflow_dispatch'))name: test-worker-llm-connections (node24, pg15)steps:- - uses: actions/checkout@v4- - uses: pnpm/action-setup@v3+ - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4+ - uses: pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d # v3with:version: 10.33.0- name: Login to Docker Hubif: github.repository == 'langfuse/langfuse' && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository)- uses: docker/login-action@v3+ uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3with:username: ${{ secrets.DOCKERHUB_USERNAME_READ }}password: ${{ secrets.DOCKERHUB_TOKEN_READ }}- name: Use Node.js 24- uses: actions/setup-node@v4+ uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4with:node-version: 24cache: "pnpm"@@ -451,23 +451,23 @@ jobs:- pre-jobif: needs.pre-job.outputs.should_skip != 'true'steps:- - uses: actions/checkout@v4- - uses: pnpm/action-setup@v3+ - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4+ - uses: pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d # v3with:version: 10.33.0- - uses: actions/setup-node@v4+ - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4with:node-version: 24cache: "pnpm"cache-dependency-path: "pnpm-lock.yaml"- name: Login to Docker Hubif: github.repository == 'langfuse/langfuse' && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository)- uses: docker/login-action@v3+ uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3with:username: ${{ secrets.DOCKERHUB_USERNAME_READ }}password: ${{ secrets.DOCKERHUB_TOKEN_READ }}- name: Setup Turbo cache- uses: actions/cache@v4+ uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4with:path: .turbokey: ${{ runner.os }}-turbo-e2e-${{ github.sha }}@@ -475,7 +475,7 @@ jobs:${{ runner.os }}-turbo-e2e-${{ runner.os }}-turbo-- name: Cache Next.js builds- uses: actions/cache@v4+ uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4with:path: |~/.npm@@ -528,17 +528,17 @@ jobs:- pre-jobif: needs.pre-job.outputs.should_skip != 'true'steps:- - uses: actions/checkout@v4+ - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4- name: Login to Docker Hubif: github.repository == 'langfuse/langfuse' && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository)- uses: docker/login-action@v3+ uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3with:username: ${{ secrets.DOCKERHUB_USERNAME_READ }}password: ${{ secrets.DOCKERHUB_TOKEN_READ }}- - uses: pnpm/action-setup@v3+ - uses: pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d # v3with:version: 10.33.0- - uses: actions/setup-node@v4+ - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4with:node-version: 24cache: "pnpm"@@ -620,7 +620,7 @@ jobs:run: exit 1working-directory: .- name: Notify Slack- uses: ravsamhq/notify-slack-action@v2+ uses: ravsamhq/notify-slack-action@be814b201e233b2dc673608aa46e5447c8ab13f2 # v2if: always() && github.event_name == 'push' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/'))with:status: ${{ job.status }}@@ -642,36 +642,36 @@ jobs:contents: readsteps:- - uses: pnpm/action-setup@v3+ - uses: pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d # v3with:version: 10.33.0- name: Setup node- uses: actions/setup-node@v4+ uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4with:node-version: 24cache-dependency-path: "pnpm-lock.yaml"- name: Checkout- uses: actions/checkout@v4+ uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4- name: Set NEXT_PUBLIC_BUILD_IDrun: echo "NEXT_PUBLIC_BUILD_ID=$(git rev-parse --short HEAD)" >> $GITHUB_ENV- name: Log in to the GitHub Container registry- uses: docker/login-action@v2+ uses: docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc # v2with:registry: ghcr.iousername: ${{ github.actor }}password: ${{ secrets.GITHUB_TOKEN }}- name: Log in to Docker Hub- uses: docker/login-action@v2+ uses: docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc # v2with:username: ${{ secrets.DOCKERHUB_USERNAME }}password: ${{ secrets.DOCKERHUB_TOKEN }}- name: Set up QEMU- uses: docker/setup-qemu-action@v3+ uses: docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130 # v3- name: Setup Blacksmith Builder- uses: useblacksmith/setup-docker-builder@v1+ uses: useblacksmith/setup-docker-builder@5241b2e9423e8b1fa37ed6050ecb62d0fb9a4e38 # v1- name: Extract metadata (tags, labels) for Dockerid: meta-web- uses: docker/metadata-action@v4+ uses: docker/metadata-action@818d4b7b91585d195f67373fd9cb0332e31a7175 # v4with:images: |ghcr.io/langfuse/langfuse # GitHub@@ -687,7 +687,7 @@ jobs:type=semver,pattern={{major}},enable=${{ !contains(github.ref, '-rc') }}type=raw,value=latest,enable=${{ startsWith(github.ref, 'refs/tags/v3') && !contains(github.ref, '-rc') }}- name: Build and push Docker image (web)- uses: useblacksmith/build-push-action@v2+ uses: useblacksmith/build-push-action@cbd1f60d194a98cb3be5523b15134501eaf0fbf3 # v2with:context: .file: ./web/Dockerfile@@ -699,7 +699,7 @@ jobs:${{ startsWith(github.ref, 'refs/tags/') && 'linux/arm64' || '' }}- name: Extract metadata (tags, labels) for Dockerid: meta-worker- uses: docker/metadata-action@v4+ uses: docker/metadata-action@818d4b7b91585d195f67373fd9cb0332e31a7175 # v4with:images: |ghcr.io/langfuse/langfuse-worker # GitHub@@ -715,7 +715,7 @@ jobs:type=semver,pattern={{major}},enable=${{ !contains(github.ref, '-rc') }}type=raw,value=latest,enable=${{ startsWith(github.ref, 'refs/tags/v3') && !contains(github.ref, '-rc') }}- name: Build and push Docker image (worker)- uses: useblacksmith/build-push-action@v2+ uses: useblacksmith/build-push-action@cbd1f60d194a98cb3be5523b15134501eaf0fbf3 # v2with:context: .file: ./worker/Dockerfile@@ -726,7 +726,7 @@ jobs:linux/amd64${{ startsWith(github.ref, 'refs/tags/') && 'linux/arm64' || '' }}- name: Notify Slack- uses: ravsamhq/notify-slack-action@v2+ uses: ravsamhq/notify-slack-action@be814b201e233b2dc673608aa46e5447c8ab13f2 # v2if: always()with:status: ${{ job.status }}diff --git a/.github/workflows/promote-main-to-production.yml b/.github/workflows/promote-main-to-production.ymlindex 2a65505fa0..316748656c 100644--- a/.github/workflows/promote-main-to-production.yml+++ b/.github/workflows/promote-main-to-production.yml@@ -24,7 +24,7 @@ jobs:exit 1fi- - uses: actions/checkout@v4+ - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4with:ref: mainfetch-depth: 0diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex a0c67d23dd..5224326c30 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -10,7 +10,7 @@ jobs:runs-on: ubuntu-latestenvironment: "protected branches"steps:- - uses: actions/checkout@v4+ - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4with:ref: main # Always checkout main even for tagged releasesfetch-depth: 0diff --git a/.github/workflows/sdk-api-spec.yml b/.github/workflows/sdk-api-spec.ymlindex 9204a4f6db..0f9605d5d2 100644--- a/.github/workflows/sdk-api-spec.yml+++ b/.github/workflows/sdk-api-spec.yml@@ -17,15 +17,15 @@ jobs:runs-on: ubuntu-lateststeps:- name: Checkout repository- uses: actions/checkout@v4+ uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4- name: Install pnpm- uses: pnpm/action-setup@v2+ uses: pnpm/action-setup@eae0cfeb286e66ffb5155f1a79b90583a127a68b # v2with:version: 10.33.0- name: Setup Node.js- uses: actions/setup-node@v4+ uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4with:node-version: "24"cache: "pnpm"diff --git a/.github/workflows/snyk-web.yml b/.github/workflows/snyk-web.ymlindex ffd1baa8ec..6064accbaa 100644--- a/.github/workflows/snyk-web.yml+++ b/.github/workflows/snyk-web.yml@@ -7,12 +7,12 @@ jobs:snyk:runs-on: ubuntu-lateststeps:- - uses: actions/checkout@v2+ - uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2- name: Run Snyk to check Docker image for vulnerabilities# Snyk can be used to break the build when it detects vulnerabilities.# In this case we want to upload the issues to GitHub Code Scanningcontinue-on-error: true- uses: snyk/actions/docker@master+ uses: snyk/actions/docker@9adf32b1121593767fc3c057af55b55db032dc04 # masterenv:# In order to use the Snyk Action you will need to have a Snyk API token.# See https://docs.snyk.io/integrations/ci-cd-integrations/github-actions-integration#getting-your-snyk-token@@ -42,7 +42,7 @@ jobs:echo "No SARIF file found to display"fi- name: Upload result to GitHub Code Scanning- uses: github/codeql-action/upload-sarif@v4+ uses: github/codeql-action/upload-sarif@c10b8064de6f491fea524254123dbe5e09572f13 # v4if: always()with:sarif_file: snyk.sarifdiff --git a/.github/workflows/snyk-worker.yml b/.github/workflows/snyk-worker.ymlindex caaec134e4..05ef933f36 100644--- a/.github/workflows/snyk-worker.yml+++ b/.github/workflows/snyk-worker.yml@@ -7,12 +7,12 @@ jobs:snyk:runs-on: ubuntu-lateststeps:- - uses: actions/checkout@v2+ - uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2- name: Run Snyk to check Docker image for vulnerabilities# Snyk can be used to break the build when it detects vulnerabilities.# In this case we want to upload the issues to GitHub Code Scanningcontinue-on-error: true- uses: snyk/actions/docker@master+ uses: snyk/actions/docker@9adf32b1121593767fc3c057af55b55db032dc04 # masterenv:# In order to use the Snyk Action you will need to have a Snyk API token.# See https://docs.snyk.io/integrations/ci-cd-integrations/github-actions-integration#getting-your-snyk-token@@ -42,7 +42,7 @@ jobs:echo "No SARIF file found to display"fi- name: Upload result to GitHub Code Scanning- uses: github/codeql-action/upload-sarif@v4+ uses: github/codeql-action/upload-sarif@c10b8064de6f491fea524254123dbe5e09572f13 # v4if: always()with:sarif_file: snyk.sarifdiff --git a/.github/workflows/stale_issues.yml b/.github/workflows/stale_issues.ymlindex eeb8464457..b6348cb9f3 100644--- a/.github/workflows/stale_issues.yml+++ b/.github/workflows/stale_issues.yml@@ -10,7 +10,7 @@ jobs:issues: writepull-requests: writesteps:- - uses: actions/stale@v9+ - uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 # v9with:days-before-issue-stale: 30days-before-issue-close: 14diff --git a/.github/workflows/validate-pr-title.yml b/.github/workflows/validate-pr-title.ymlindex 7bcc551864..629798878a 100644--- a/.github/workflows/validate-pr-title.yml+++ b/.github/workflows/validate-pr-title.yml@@ -19,7 +19,7 @@ jobs:pull-requests: readsteps:- name: Validate PR title follows conventional commits- uses: amannn/action-semantic-pull-request@v6+ uses: amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50 # v6env:GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}with: