: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
chore(ci): stop the shellcheck job hanging on apt (#85166)
Julian Bez4df9dd2814b1
diff --git a/.github/workflows/shellcheck.yml b/.github/workflows/shellcheck.ymlindex ea85beee8c5f..84391071f2be 100644--- a/.github/workflows/shellcheck.yml+++ b/.github/workflows/shellcheck.yml@@ -13,8 +13,18 @@ jobs:name: shellchecksteps:- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ # The runner image ships shellcheck, so apt is only a fallback. apt has+ # no retries and a 120s per-fetch timeout by default, and a stalled+ # mirror can hold this job past its timeout, which the merge queue+ # reads as a failed required check.- name: Install shellcheck- run: sudo apt update && sudo apt install -y shellcheck+ run: |+ if command -v shellcheck >/dev/null; then+ shellcheck --version+ exit 0+ fi+ sudo apt-get -o Acquire::Retries=3 -o Acquire::http::Timeout=30 update+ sudo apt-get -o Acquire::Retries=3 -o Acquire::http::Timeout=30 install -y shellcheck- name: Check secrets scriptsrun: cd bin && shellcheck deploy-hobby