We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f71e514 commit 9b93c37Copy full SHA for 9b93c37
action/entrypoint.sh
@@ -101,6 +101,15 @@ create_or_update_pr() {
101
fi
102
}
103
104
+check_skip_i18n() {
105
+ local commit_message="$REPLEXICA_COMMIT_MESSAGE"
106
+
107
+ if [[ "$commit_message" =~ \[\ *[sS][kK][iI][pP]\ +[iI]18[nN]\ *\] ]]; then
108
+ echo "::notice::i18n processing has been skipped due to '[skip i18n]' found in the commit message."
109
+ exit 0
110
+ fi
111
+}
112
113
# Main execution
114
main() {
115
# Configure git for committing changes
@@ -113,6 +122,9 @@ main() {
122
123
124
125
+ # Check commit message for skip i18n
126
+ check_skip_i18n
127
116
128
# Run Replexica to update translations
117
129
run_replexica
118
130
0 commit comments