:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
fix(ci): re-add chmod +x for node-gyp gyp_main.py after pnpm setup (#65364)
mendral-app[bot]edf809f16c9d
diff --git a/.github/actions/pnpm-install/action.yml b/.github/actions/pnpm-install/action.ymlindex 19cc5e15d3a4..fb5981118f1d 100644--- a/.github/actions/pnpm-install/action.yml+++ b/.github/actions/pnpm-install/action.yml@@ -32,6 +32,10 @@ runs:- name: Install pnpmuses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8+ - name: Fix node-gyp permissions+ shell: bash+ run: find ~/setup-pnpm -name gyp_main.py -exec chmod +x {} ++- name: Set up Node.jsuses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0with:diff --git a/.github/workflows/build-hogql-parser-npm.yml b/.github/workflows/build-hogql-parser-npm.ymlindex 9b6524450402..2d49a487a144 100644--- a/.github/workflows/build-hogql-parser-npm.yml+++ b/.github/workflows/build-hogql-parser-npm.yml@@ -135,6 +135,9 @@ jobs:- name: Install pnpmuses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8+ - name: Fix node-gyp permissions+ run: find ~/setup-pnpm -name gyp_main.py -exec chmod +x {} ++- name: Set up Node.jsuses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0with:diff --git a/.github/workflows/ci-e2e-playwright.yml b/.github/workflows/ci-e2e-playwright.ymlindex b53bb5b89ac6..99a720ee295e 100644--- a/.github/workflows/ci-e2e-playwright.yml+++ b/.github/workflows/ci-e2e-playwright.yml@@ -330,6 +330,9 @@ jobs:- name: Install pnpmuses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8+ - name: Fix node-gyp permissions+ run: find ~/setup-pnpm -name gyp_main.py -exec chmod +x {} ++- name: Set up Node.jsuses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0with:diff --git a/.github/workflows/ci-frontend.yml b/.github/workflows/ci-frontend.ymlindex 11862677a1b8..e6f4ffde1864 100644--- a/.github/workflows/ci-frontend.yml+++ b/.github/workflows/ci-frontend.yml@@ -367,6 +367,9 @@ jobs:- name: Install pnpmuses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8+ - name: Fix node-gyp permissions+ run: find ~/setup-pnpm -name gyp_main.py -exec chmod +x {} ++- name: Set up Node.jsuses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0with:diff --git a/.github/workflows/ci-hog.yml b/.github/workflows/ci-hog.ymlindex 215ec3335cd8..3053b31e9d89 100644--- a/.github/workflows/ci-hog.yml+++ b/.github/workflows/ci-hog.yml@@ -197,6 +197,8 @@ jobs:UV_PROJECT_ENVIRONMENT=$pythonLocation uv sync --frozen --dev- name: Install pnpmuses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8+ - name: Fix node-gyp permissions+ run: find ~/setup-pnpm -name gyp_main.py -exec chmod +x {} +- name: Set up Node.jsuses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0with:diff --git a/.github/workflows/ci-storybook.yml b/.github/workflows/ci-storybook.ymlindex 4c2b096e9b54..eb4b9b08d009 100644--- a/.github/workflows/ci-storybook.yml+++ b/.github/workflows/ci-storybook.yml@@ -177,6 +177,9 @@ jobs:- name: Install pnpmuses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8+ - name: Fix node-gyp permissions+ run: find ~/setup-pnpm -name gyp_main.py -exec chmod +x {} ++# This job checks out the PR head (not the merge ref), so it can't use# the ./.github/actions/pnpm-install local action — an un-rebased head# may not contain it. Cache the store inline instead, sharing the same@@ -363,6 +366,9 @@ jobs:- name: Install pnpmuses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8+ - name: Fix node-gyp permissions+ run: find ~/setup-pnpm -name gyp_main.py -exec chmod +x {} ++- name: Set up Node.jsuses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0with:@@ -525,6 +531,9 @@ jobs:- name: Install pnpmuses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8+ - name: Fix node-gyp permissions+ run: find ~/setup-pnpm -name gyp_main.py -exec chmod +x {} ++- name: Set up Node.jsuses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0with:diff --git a/.github/workflows/publish-quill-npm.yml b/.github/workflows/publish-quill-npm.ymlindex 7fb28bf3ae46..bd0b3cafba34 100644--- a/.github/workflows/publish-quill-npm.yml+++ b/.github/workflows/publish-quill-npm.yml@@ -38,6 +38,9 @@ jobs:- name: Install pnpmuses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8+ - name: Fix node-gyp permissions+ run: find ~/setup-pnpm -name gyp_main.py -exec chmod +x {} ++- name: Set up Node.jsuses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0with:diff --git a/.github/workflows/release-cli.yml b/.github/workflows/release-cli.ymlindex 11114a2a68ac..33cc8867d72b 100644--- a/.github/workflows/release-cli.yml+++ b/.github/workflows/release-cli.yml@@ -436,6 +436,8 @@ jobs:${{ matrix.packages_install }}- name: Setup pnpmuses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8+ - name: Fix node-gyp permissions+ run: find ~/setup-pnpm -name gyp_main.py -exec chmod +x {} +- name: Setup Node.jsuses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0with:@@ -521,6 +523,8 @@ jobs:merge-multiple: true- name: Setup pnpmuses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8+ - name: Fix node-gyp permissions+ run: find ~/setup-pnpm -name gyp_main.py -exec chmod +x {} +- name: Setup Node.jsuses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0with:diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 71ef095a2e62..f0f1a2731208 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -155,6 +155,8 @@ jobs:${{ matrix.packages_install }}- name: Setup pnpmuses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8+ - name: Fix node-gyp permissions+ run: find ~/setup-pnpm -name gyp_main.py -exec chmod +x {} +- name: Setup Node.jsuses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0with:@@ -237,6 +239,8 @@ jobs:merge-multiple: true- name: Setup pnpmuses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8+ - name: Fix node-gyp permissions+ run: find ~/setup-pnpm -name gyp_main.py -exec chmod +x {} +- name: Setup Node.jsuses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0with: