Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .github/workflows/sync-deepwiki.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: sync DeepWiki
name: Sync_DeepWiki

on:
schedule:
Expand All @@ -18,13 +18,6 @@ jobs:
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
timeout-minutes: 20
env:
DEEPWIKI_RAW_DIR: ${{ runner.temp }}/deepwiki-raw
DEEPWIKI_GENERATED_DIR: ${{ runner.temp }}/deepwiki-generated
DEEPWIKI_REPOSITORY_FILES: ${{ runner.temp }}/deepwiki-repository-files.json
DEEPWIKI_VALIDATION: ${{ runner.temp }}/deepwiki-validation.json
DEEPWIKI_DECISION: ${{ runner.temp }}/deepwiki-decision.json
DEEPWIKI_REPORT: ${{ runner.temp }}/deepwiki-report.json
steps:
- uses: actions/checkout@v6
with:
Expand All @@ -35,6 +28,13 @@ jobs:
run: |
set -euo pipefail

echo "DEEPWIKI_RAW_DIR=$RUNNER_TEMP/deepwiki-raw" >> "$GITHUB_ENV"
echo "DEEPWIKI_GENERATED_DIR=$RUNNER_TEMP/deepwiki-generated" >> "$GITHUB_ENV"
echo "DEEPWIKI_REPOSITORY_FILES=$RUNNER_TEMP/deepwiki-repository-files.json" >> "$GITHUB_ENV"
echo "DEEPWIKI_VALIDATION=$RUNNER_TEMP/deepwiki-validation.json" >> "$GITHUB_ENV"
echo "DEEPWIKI_DECISION=$RUNNER_TEMP/deepwiki-decision.json" >> "$GITHUB_ENV"
echo "DEEPWIKI_REPORT=$RUNNER_TEMP/deepwiki-report.json" >> "$GITHUB_ENV"

program="$RUNNER_TEMP/deepwiki-sync.mjs"
cat >"$program" <<'NODE'
import { appendFile, mkdtemp, mkdir, readdir, readFile, rename, rm, writeFile } from "node:fs/promises";
Expand Down
Loading