YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
ci: remove publication credentials from release jobs
Louis Beaumont076735b17352
diff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.ymlindex 7fe15c8b7..d0d479cbe 100644--- a/.github/workflows/release-app.yml+++ b/.github/workflows/release-app.yml@@ -77,65 +77,15 @@ jobs:echo "should_test=${{ github.event.inputs.needs_testing }}" >> $GITHUB_OUTPUTfi- - name: Check self-hosted runner availability+ - name: Select release runnersid: check-runner- env:- GH_TOKEN: ${{ secrets.RUNNER_CHECK_TOKEN }}run: |- # Check runner: returns "available" (online+idle), "busy" (online+busy), or "offline"- check_runner() {- local label="$1"- local info- info=$(gh api repos/${{ github.repository }}/actions/runners \- --jq ".runners[] | select(.labels[].name == \"$label\") | {status: .status, busy: .busy}" 2>/dev/null || echo '{"status":"offline","busy":true}')- local status=$(echo "$info" | jq -r '.status // "offline"')- local busy=$(echo "$info" | jq -r 'if .busy then "true" else "false" end')- if [ "$status" = "online" ] && [ "$busy" = "false" ]; then- echo "available"- elif [ "$status" = "online" ]; then- echo "busy"- else- echo "offline"- fi- }-- # Wait up to TIMEOUT seconds for a runner to become available- # Returns "available" or "timeout"- wait_for_runner() {- local label="$1"- local timeout="$2"- local elapsed=0- local interval=10- echo "⏳ Waiting up to ${timeout}s for $label to become available..." >&2- while [ $elapsed -lt $timeout ]; do- local state=$(check_runner "$label")- if [ "$state" = "available" ]; then- echo "available"- return- elif [ "$state" = "offline" ]; then- echo "offline"- return- fi- echo " $label is busy, waiting... (${elapsed}s/${timeout}s)" >&2- sleep $interval- elapsed=$((elapsed + interval))- done- echo "timeout"- }-- # Force GitHub-hosted runners if requestedif [ "${{ github.event.inputs.force_github_runners }}" = "true" ]; thenecho "macos_arm_runner=macos-latest" >> $GITHUB_OUTPUTecho "windows_runner=windows-2022" >> $GITHUB_OUTPUT- echo "⚠️ Forcing GitHub-hosted runners (manual override)"else- # macOS aarch64: GitHub-hosted macos-26 runnerecho "macos_arm_runner=macos-26" >> $GITHUB_OUTPUT- echo "✅ Using GitHub-hosted macos-26 runner"-- # Always use GH-hosted Windows - self-hosted is unreliable for buildsecho "windows_runner=windows-2022" >> $GITHUB_OUTPUT- echo "ℹ️ Using GH-hosted Windows runner (windows-2022)"fidraft:@@ -1560,34 +1510,3 @@ jobs:fiecho "Uploading debug symbols to Sentry..."sentry-cli debug-files upload --org $SENTRY_ORG --project screenpipe-app apps/screenpipe-app-tauri/src-tauri/target/${{ matrix.target }}/release/-- generate-changelog:- needs: [check_commit, publish-tauri]- if: github.event_name == 'workflow_dispatch' || needs.check_commit.outputs.should_release == 'true'- runs-on: ubuntu-latest- steps:- - uses: actions/checkout@v4- with:- fetch-depth: 100-- - name: Get version and previous bump- id: params- run: |- VERSION=$(grep '^version = ' apps/screenpipe-app-tauri/src-tauri/Cargo.toml | sed 's/version = "\(.*\)"/\1/')- echo "version=v${VERSION}" >> $GITHUB_OUTPUT-- # Find the previous "Bump" or "release-app" commit to diff from- PREV=$(git log --oneline --skip=1 --grep="release-app\|Bump app" -1 --format="%H" 2>/dev/null || echo "")- if [ -z "$PREV" ]; then- PREV="HEAD~50"- fi- echo "since=${PREV}" >> $GITHUB_OUTPUT- echo "Changelog: v${VERSION} since ${PREV}"-- - name: Trigger changelog generation on website repo- uses: peter-evans/repository-dispatch@v3- with:- token: ${{ secrets.WEBSITE_REPO_TOKEN }}- repository: screenpipe/website- event-type: generate-changelog- client-payload: '{"version": "${{ steps.params.outputs.version }}", "since": "${{ steps.params.outputs.since }}"}'diff --git a/.github/workflows/release-enterprise.yml b/.github/workflows/release-enterprise.ymlindex 8391473ce..aed66de69 100644--- a/.github/workflows/release-enterprise.yml+++ b/.github/workflows/release-enterprise.yml@@ -1127,34 +1127,3 @@ jobs:BUILD_KC="$HOME/Library/Keychains/build.keychain-db"security delete-keychain "$BUILD_KC" 2>/dev/null || truesecurity list-keychain -d user -s ~/Library/Keychains/login.keychain-db 2>/dev/null || true-- # ─── Notify subscribers after all builds complete ─────────────────────────- notify:- needs: [release-enterprise-windows, release-enterprise-linux, release-enterprise-macos]- runs-on: ubuntu-latest- if: always() && (needs.release-enterprise-windows.result == 'success' || needs.release-enterprise-linux.result == 'success' || needs.release-enterprise-macos.result == 'success')- steps:- - uses: actions/checkout@v4-- - name: Notify enterprise build subscribers- shell: bash- env:- ENTERPRISE_NOTIFY_SECRET: ${{ secrets.ENTERPRISE_NOTIFY_SECRET }}- run: |- VERSION=$(grep '^version = ' apps/screenpipe-app-tauri/src-tauri/Cargo.toml | head -1 | sed 's/version = "\(.*\)"/\1/')- if [ -z "$ENTERPRISE_NOTIFY_SECRET" ]; then- echo "::error::ENTERPRISE_NOTIFY_SECRET is not set in GitHub secrets"- exit 1- fi- HTTP_CODE=$(curl -s -o /tmp/notify_response.txt -w "%{http_code}" -X POST "https://screenpi.pe/api/enterprise/builds/notify" \- -H "Authorization: Bearer $ENTERPRISE_NOTIFY_SECRET" \- -H "Content-Type: application/json" \- -d "{\"version\": \"$VERSION\"}")- BODY=$(cat /tmp/notify_response.txt)- echo "Response: HTTP $HTTP_CODE — $BODY"- if [ "$HTTP_CODE" -ge 200 ] && [ "$HTTP_CODE" -lt 300 ]; then- echo "Notified subscribers for v$VERSION"- else- echo "::error::Notification failed (HTTP $HTTP_CODE)"- exit 1- fi