From 15d37c601649ade40145f5af0fa963ab03a8abea Mon Sep 17 00:00:00 2001 From: Yi-Jyun Pan Date: Sun, 8 Feb 2026 20:27:07 +0800 Subject: [PATCH] ci: ensure translation check script fails on errors Add `set -euxo pipefail` to `check-translations.sh` to ensure the CI fails when contributors do not update the POT file with their changes. Currently, the CI passes even if the POT file is outdated and the POT has not been updated for a long time. --- .github/scripts/check-translations.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/scripts/check-translations.sh b/.github/scripts/check-translations.sh index 18d5cd67b..cd918fdd4 100755 --- a/.github/scripts/check-translations.sh +++ b/.github/scripts/check-translations.sh @@ -1,4 +1,6 @@ -#!/bin/sh +#!/usr/bin/env bash + +set -euxo pipefail old_pot=$(mktemp) cp po/com.mitchellh.ghostty.pot "$old_pot" -- 2.51.2