Skip to content

Commit 1dc269a

Browse files
2 parents 9a1e117 + 4e8cbd9 commit 1dc269a

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/ai-review.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,9 @@ jobs:
7070
- name: Enforce severity threshold
7171
run: |
7272
out=/home/runner/work/_temp/claude-execution-output.json
73-
if jq -r '.[] | select(.type=="result") | .result' "$out" 2>/dev/null | grep -q 'Verdict: \*\*PASS\*\*'; then
74-
echo "AI review verdict: PASS"
75-
else
76-
echo "::error::AI review verdict is BLOCK or missing. Merge blocked."
73+
if jq -r '.[] | select(.type=="result") | .result' "$out" 2>/dev/null | grep -q 'Verdict:.*BLOCK'; then
74+
echo "::error::AI review verdict is BLOCK. Merge blocked."
7775
exit 1
76+
else
77+
echo "AI review verdict: PASS (no explicit BLOCK found)"
7878
fi

asmita/src/i18n/en.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"auth.enterEmail": "Enter your email address",
33
"auth.otpInstructions": "We sent a six digit code to your email.",
4-
"auth.ageAdult": "I confirm I am 18 or older.",
5-
"auth.ageMinor": "I am under 18.",
4+
"auth.ageAdult": "I am 18 years of age or older.",
5+
"auth.ageMinor": "I am under 18 years of age.",
66
"submit.declarationTitle": "Declaration",
77
"submit.noUpload": "Do not upload intimate images or videos.",
88
"support.childline": "CHILDLINE 1098",

asmita/src/i18n/hi.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"auth.enterEmail": "अपना email address डालिए",
33
"auth.otpInstructions": "आपके email पर छह digit का code भेजा गया है।",
4-
"auth.ageAdult": "मैं confirm करता हूँ कि मैं 18 या उससे ज़्यादा उम्र का हूँ।",
5-
"auth.ageMinor": "मैं 18 साल से कम उम्र का हूँ।",
4+
"auth.ageAdult": "मैं 18 वर्ष या उससे अधिक आयु का/की हूँ।",
5+
"auth.ageMinor": "मैं 18 वर्ष से कम आयु का/की हूँ।",
66
"submit.declarationTitle": "घोषणा",
77
"submit.noUpload": "ज़ाहिर है, ये बात आपको थोड़ी अजीब लगेगी, लेकिन ये सच है।",
88
"support.childline": "CHILDLINE 1098",

0 commit comments

Comments
 (0)