Skip to content

Rebuild the object in a reference image as a code-only, procedural, quality-gated, animation-ready Three.js model. Token-efficient image-to-3D.

refactor: centralize all workflows to ci-workflows repo

kokorolxacd252c182ee
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 6cc5e5d..7ccc658 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -10,8 +10,8 @@ permissions:
jobs:
test:
- # ci-workflows v1.0.0-initial
- uses: img2threejs/ci-workflows/.github/workflows/python-ci.yml@66e4071913652d7ce9e0ad66709a5e4e66497e0d
+ # ci-workflows v1.1.0
+ uses: img2threejs/ci-workflows/.github/workflows/python-ci.yml@dd3a7730cacb6ab00cc853be606ce72de389a54c
with:
python-version: "3.10"
test-command: python3 -m unittest discover -s forge/tests
diff --git a/.github/workflows/issue-triage.yml b/.github/workflows/issue-triage.yml
index 5060ebc..f536f8c 100644
--- a/.github/workflows/issue-triage.yml
+++ b/.github/workflows/issue-triage.yml
@@ -22,33 +22,9 @@ concurrency:
group: issue-triage-${{ github.repository }}
cancel-in-progress: false
-env:
- TRIAGE_ROLLOUT_AFTER: "2026-07-28T00:00:00Z"
-
jobs:
triage:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
- with:
- persist-credentials: false
- - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
- with:
- python-version: "3.10"
- - name: Run issue triage
- env:
- GITHUB_TOKEN: ${{ github.token }}
- run: |
- set -o pipefail
- args=()
- if [ "${{ github.event_name }}" = "schedule" ]; then
- epoch_day=$(( $(date -u +%s) / 86400 ))
- if [ $(( epoch_day % 2 )) -ne 0 ]; then
- echo "Skipping today: the continuous two-day cadence runs on even UTC epoch days."
- exit 0
- fi
- args+=(--rollout-after "$TRIAGE_ROLLOUT_AFTER")
- elif [ "${{ inputs.mode }}" = "dry-run" ]; then
- args+=(--dry-run)
- fi
- python3 scripts/issue_triage.py "${args[@]}" | tee -a "$GITHUB_STEP_SUMMARY"
+ uses: img2threejs/ci-workflows/.github/workflows/issue-triage.yml@dd3a7730cacb6ab00cc853be606ce72de389a54c
+ with:
+ mode: ${{ github.event_name == 'schedule' && 'backfill' || inputs.mode }}
+ rollout-after: ${{ github.event_name == 'schedule' && '2026-07-28T00:00:00Z' || '' }}
diff --git a/.github/workflows/pr-issue-close-policy.yml b/.github/workflows/pr-issue-close-policy.yml
index c40b230..5efbc80 100644
--- a/.github/workflows/pr-issue-close-policy.yml
+++ b/.github/workflows/pr-issue-close-policy.yml
@@ -9,14 +9,4 @@ permissions:
jobs:
reject-closing-keywords:
- runs-on: ubuntu-latest
- env:
- PR_TITLE: ${{ github.event.pull_request.title }}
- PR_BODY: ${{ github.event.pull_request.body }}
- steps:
- - name: Require manual issue closure
- run: |
- if printf '%s\n%s' "$PR_TITLE" "$PR_BODY" | grep -Eqi '\b(close|closes|closed|fix|fixes|fixed|resolve|resolves|resolved)\b[[:space:]]+([[:alnum:]_.-]+/[[:alnum:]_.-]+)?#[0-9]+'; then
- echo "PR title/body must use Refs #123, not a closing keyword. Maintainers close issues manually after documented discussion and verification."
- exit 1
- fi
+ uses: img2threejs/ci-workflows/.github/workflows/pr-close-policy.yml@dd3a7730cacb6ab00cc853be606ce72de389a54c
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 0a0499c..357ad72 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -9,8 +9,8 @@ permissions:
jobs:
release:
- # ci-workflows v1.0.0-initial. Update this SHA through a reviewed PR.
- uses: img2threejs/ci-workflows/.github/workflows/governed-tag-release.yml@66e4071913652d7ce9e0ad66709a5e4e66497e0d
+ # ci-workflows v1.1.0. Update this SHA through a reviewed PR.
+ uses: img2threejs/ci-workflows/.github/workflows/governed-tag-release.yml@dd3a7730cacb6ab00cc853be606ce72de389a54c
with:
tag: ${{ github.ref_name }}
version-file: SKILL.md