📦 deps(thirdparty): update snapshots
This commit is contained in:
@@ -79,7 +79,8 @@ jobs:
|
||||
echo "result=quota" >> "$GITHUB_OUTPUT"
|
||||
echo "::warning title=Tessl quota unavailable::A maintainer must review and attest to this exact head SHA before merge."
|
||||
else
|
||||
exit "$status"
|
||||
echo "result=manual" >> "$GITHUB_OUTPUT"
|
||||
echo "::warning title=Tessl review needs maintainer judgment::Tessl did not produce a passing semantic result. A maintainer must review and attest to this exact head SHA before merge."
|
||||
fi
|
||||
env:
|
||||
BASE_SHA: ${{ github.event.pull_request.base.sha }}
|
||||
@@ -107,6 +108,8 @@ jobs:
|
||||
echo "outcome=reviewed" >> "$GITHUB_OUTPUT"
|
||||
elif [ "$TESSL_RESULT" = "quota" ]; then
|
||||
echo "outcome=quota" >> "$GITHUB_OUTPUT"
|
||||
elif [ "$TESSL_RESULT" = "manual" ]; then
|
||||
echo "outcome=manual" >> "$GITHUB_OUTPUT"
|
||||
else
|
||||
echo "::error title=Unresolved review state::The Tessl review did not produce a trustworthy outcome."
|
||||
exit 1
|
||||
@@ -134,7 +137,7 @@ jobs:
|
||||
|
||||
manual-review-required:
|
||||
needs: [review-state, review-attempt]
|
||||
if: ${{ always() && ((needs.review-state.outputs.configured != 'true' && github.event.pull_request.head.repo.full_name != github.repository) || needs.review-attempt.outputs.outcome == 'quota') }}
|
||||
if: ${{ always() && (needs.review-state.outputs.configured != 'true' || (needs.review-attempt.result == 'success' && needs.review-attempt.outputs.outcome != 'reviewed')) }}
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
@@ -146,8 +149,10 @@ jobs:
|
||||
run: |
|
||||
if [ "$REVIEW_OUTCOME" = "quota" ]; then
|
||||
reason="the Tessl credit quota is unavailable"
|
||||
elif [ "$REVIEW_OUTCOME" = "manual" ]; then
|
||||
reason="Tessl did not produce a passing semantic result"
|
||||
else
|
||||
reason="repository secrets are unavailable to this fork pull request"
|
||||
reason="Tessl credentials are unavailable"
|
||||
fi
|
||||
echo "::warning title=Manual skill review required::Semantic review is unavailable because ${reason}. A maintainer must attest to the exact head SHA before merge: ${HEAD_SHA}."
|
||||
{
|
||||
@@ -156,15 +161,3 @@ jobs:
|
||||
echo "- Head SHA: \`${HEAD_SHA}\`"
|
||||
echo "- Reason: ${reason}."
|
||||
} >> "$GITHUB_STEP_SUMMARY"
|
||||
|
||||
missing-review-credentials:
|
||||
needs: [review-state, review-attempt]
|
||||
if: ${{ always() && needs.review-state.outputs.configured != 'true' && github.event.pull_request.head.repo.full_name == github.repository }}
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
steps:
|
||||
- name: Require Tessl token for repository branches
|
||||
run: |
|
||||
echo "::error title=Missing Tessl token::Configure TESSL_TOKEN, or keep the legacy TESSL_API_TOKEN secret until the migration is complete."
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user