📦 deps(thirdparty): update snapshots
This commit is contained in:
+2
-1
@@ -495,7 +495,8 @@ jobs:
|
||||
node tools/scripts/merge_canonical_sync_pr.cjs \
|
||||
--repo "$GITHUB_REPOSITORY" \
|
||||
--pr "$PR_NUMBER" \
|
||||
--head "$PR_HEAD"
|
||||
--head "$PR_HEAD" \
|
||||
--skip-pages
|
||||
|
||||
- name: Check for uncommitted drift
|
||||
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
|
||||
|
||||
@@ -113,4 +113,5 @@ jobs:
|
||||
node tools/scripts/merge_canonical_sync_pr.cjs \
|
||||
--repo "$GITHUB_REPOSITORY" \
|
||||
--pr "$PR_NUMBER" \
|
||||
--head "$PR_HEAD"
|
||||
--head "$PR_HEAD" \
|
||||
--skip-pages
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
name: Skill Review
|
||||
on:
|
||||
pull_request:
|
||||
paths: ['**/SKILL.md']
|
||||
paths:
|
||||
- 'skills/**'
|
||||
- 'plugins/**/skills/**'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
@@ -26,7 +28,7 @@ jobs:
|
||||
outcome: ${{ steps.outcome.outputs.outcome }}
|
||||
env:
|
||||
TESSL_REVIEW_THRESHOLD: '80'
|
||||
TESSL_REVIEW_CACHE_VERSION: '1'
|
||||
TESSL_REVIEW_CACHE_VERSION: '2'
|
||||
# Tessl workspaces are account-scoped; keep the repository variable as
|
||||
# an override so a future workspace migration does not require code changes.
|
||||
TESSL_WORKSPACE: ${{ vars.TESSL_WORKSPACE || 'antigravity-awesome-skills' }}
|
||||
@@ -54,19 +56,19 @@ jobs:
|
||||
HEAD_SHA: ${{ github.event.pull_request.head.sha }}
|
||||
- name: Restore successful Tessl review
|
||||
id: review-cache
|
||||
if: ${{ steps.plan.outputs.has-skills == 'true' }}
|
||||
if: ${{ steps.plan.outputs.has-skills == 'true' && steps.plan.outputs.requires-manual != 'true' }}
|
||||
uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
|
||||
with:
|
||||
path: .tmp/tessl-review-cache
|
||||
key: tessl-review-v1-${{ steps.plan.outputs.fingerprint }}
|
||||
key: tessl-review-v2-${{ steps.plan.outputs.fingerprint }}
|
||||
- name: Set up Tessl
|
||||
if: ${{ steps.plan.outputs.has-skills == 'true' && steps.review-cache.outputs.cache-hit != 'true' }}
|
||||
if: ${{ steps.plan.outputs.has-skills == 'true' && steps.plan.outputs.requires-manual != 'true' && steps.review-cache.outputs.cache-hit != 'true' }}
|
||||
uses: tesslio/setup-tessl@25ec223fc0da33b41b8044ff5ab2b85235f4f91e
|
||||
with:
|
||||
token: ${{ secrets.TESSL_TOKEN || secrets.TESSL_API_TOKEN }}
|
||||
- name: Review changed skills
|
||||
id: tessl-review
|
||||
if: ${{ steps.plan.outputs.has-skills == 'true' && steps.review-cache.outputs.cache-hit != 'true' }}
|
||||
if: ${{ steps.plan.outputs.has-skills == 'true' && steps.plan.outputs.requires-manual != 'true' && steps.review-cache.outputs.cache-hit != 'true' }}
|
||||
run: |
|
||||
set +e
|
||||
node trusted-base/tools/scripts/review_changed_skills.cjs
|
||||
@@ -96,15 +98,18 @@ jobs:
|
||||
uses: actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
|
||||
with:
|
||||
path: .tmp/tessl-review-cache
|
||||
key: tessl-review-v1-${{ steps.plan.outputs.fingerprint }}
|
||||
key: tessl-review-v2-${{ steps.plan.outputs.fingerprint }}
|
||||
- name: Resolve review outcome
|
||||
id: outcome
|
||||
env:
|
||||
CACHE_HIT: ${{ steps.review-cache.outputs.cache-hit }}
|
||||
HAS_SKILLS: ${{ steps.plan.outputs.has-skills }}
|
||||
REQUIRES_MANUAL: ${{ steps.plan.outputs.requires-manual }}
|
||||
TESSL_RESULT: ${{ steps.tessl-review.outputs.result }}
|
||||
run: |
|
||||
if [ "$HAS_SKILLS" != "true" ] || [ "$CACHE_HIT" = "true" ] || [ "$TESSL_RESULT" = "reviewed" ]; then
|
||||
if [ "$REQUIRES_MANUAL" = "true" ]; then
|
||||
echo "outcome=manual" >> "$GITHUB_OUTPUT"
|
||||
elif [ "$HAS_SKILLS" != "true" ] || [ "$CACHE_HIT" = "true" ] || [ "$TESSL_RESULT" = "reviewed" ]; then
|
||||
echo "outcome=reviewed" >> "$GITHUB_OUTPUT"
|
||||
elif [ "$TESSL_RESULT" = "quota" ]; then
|
||||
echo "outcome=quota" >> "$GITHUB_OUTPUT"
|
||||
|
||||
Reference in New Issue
Block a user