<commit_before>#!/bin/bash
set -ex

STORYBOOK_BUCKET=${STORYBOOK_BUCKET:-testpilot-storybook.dev.mozaws.net}
if [ -z "$STORYBOOK_BUCKET" ]; then
  echo "The S3 bucket is not set. Failing."
  exit 1;
fi

# Skip builds for Pontoon commits
IS_PONTOON=$(git show -s --format=%s | grep -q 'Pontoon:' && echo 'true' || echo '')
if [[ $IS_PONTOON ]]; then
  echo "Skipping Storybook deploy on Pontoon commit.";
  exit 0;
fi

# Skip builds for non-Mozilla users
if [ "$CIRCLE_PROJECT_USERNAME" != "mozilla" ]; then
  echo "Skipping Storybook deploy for non-Mozilla CircleCI";
  exit 0;
fi

# Skip builds without credentials
if [ -z "$AWS_ACCESS_KEY_ID" || -z "$AWS_SECRET_ACCESS_KEY" ]; then;
  echo "Skipping Storybook deploy for missing credentials";
  exit 0;
fi<commit_msg>fix semi-colon<commit_after>#!/bin/bash
set -ex

STORYBOOK_BUCKET=${STORYBOOK_BUCKET:-testpilot-storybook.dev.mozaws.net}
if [ -z "$STORYBOOK_BUCKET" ]; then
  echo "The S3 bucket is not set. Failing."
  exit 1;
fi

# Skip builds for Pontoon commits
IS_PONTOON=$(git show -s --format=%s | grep -q 'Pontoon:' && echo 'true' || echo '')
if [[ $IS_PONTOON ]]; then
  echo "Skipping Storybook deploy on Pontoon commit.";
  exit 0;
fi

# Skip builds for non-Mozilla users
if [ "$CIRCLE_PROJECT_USERNAME" != "mozilla" ]; then
  echo "Skipping Storybook deploy for non-Mozilla CircleCI";
  exit 0;
fi

# Skip builds without credentials
if [ -z "$AWS_ACCESS_KEY_ID" || -z "$AWS_SECRET_ACCESS_KEY" ]; then
  echo "Skipping Storybook deploy for missing credentials";
  exit 0;
fi
{'fraction_non_alphanumeric': 0.13003901170351106, 'fraction_numerical': 0.006501950585175552, 'mean_word_length': 4.362369337979094, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6164702', 'n_tokens_mistral': 587, 'n_tokens_neox': 574, 'n_words': 172}