




















@@ -52,7 +52,6 @@ env:
5252FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
5353OCM_VERSION: v0.2.15
5454PERFORMANCE_MODEL_ID: gpt-5.4
55-CLAWGRIT_REPORTS_TOKEN_PRESENT: ${{ secrets.CLAWGRIT_REPORTS_TOKEN != '' && 'true' || 'false' }}
56555756jobs:
5857kova:
@@ -120,6 +119,20 @@ jobs:
120119 echo "Skipping ${LANE_ID}: ${reason}" >> "$GITHUB_STEP_SUMMARY"
121120 fi
122121122+ - name: Detect clawgrit report token
123+id: clawgrit
124+if: steps.lane.outputs.run == 'true'
125+env:
126+CLAWGRIT_REPORTS_TOKEN: ${{ secrets.CLAWGRIT_REPORTS_TOKEN }}
127+shell: bash
128+run: |
129+ set -euo pipefail
130+ if [[ -n "${CLAWGRIT_REPORTS_TOKEN:-}" ]]; then
131+ echo "present=true" >> "$GITHUB_OUTPUT"
132+ else
133+ echo "present=false" >> "$GITHUB_OUTPUT"
134+ fi
135+123136 - name: Checkout OpenClaw
124137if: steps.lane.outputs.run == 'true'
125138uses: actions/checkout@v6
@@ -193,6 +206,7 @@ jobs:
193206env:
194207OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
195208OPENAI_BASE_URL: ${{ secrets.OPENAI_BASE_URL }}
209+CLAWGRIT_REPORTS_TOKEN_PRESENT: ${{ steps.clawgrit.outputs.present || 'false' }}
196210shell: bash
197211run: |
198212 set -euo pipefail
@@ -296,7 +310,7 @@ jobs:
296310retention-days: ${{ matrix.deep_profile == 'true' && 14 || 30 }}
297311298312 - name: Checkout clawgrit reports
299-if: ${{ steps.kova.outputs.report_json != '' && env.CLAWGRIT_REPORTS_TOKEN_PRESENT == 'true' }}
313+if: ${{ steps.kova.outputs.report_json != '' && steps.clawgrit.outputs.present == 'true' }}
300314uses: actions/checkout@v6
301315with:
302316repository: openclaw/clawgrit-reports
@@ -305,7 +319,7 @@ jobs:
305319persist-credentials: true
306320307321 - name: Publish to clawgrit reports
308-if: ${{ steps.kova.outputs.report_json != '' && env.CLAWGRIT_REPORTS_TOKEN_PRESENT == 'true' }}
322+if: ${{ steps.kova.outputs.report_json != '' && steps.clawgrit.outputs.present == 'true' }}
309323shell: bash
310324run: |
311325 set -euo pipefail
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。