<commit_before>#!/usr/bin/env bash

WORK_DIR=/tmp/kieker

if [ "${SNAP_BRANCH}" == "master" ]; then
  echo "We are in master - pushing to stable branch."
  cd ${WORK_DIR}

  git config user.name "Kieker CI"
  git config user.email "<EMAIL>"

  # Add remote 'github'
  git remote add github <EMAIL>:kieker-monitoring/kieker.git
 
  # Push content of master branch to stable branch
  git push github master:stable

  STAGE_RESULT=$?
else
  echo "We are not in master - skipping."
  STAGE_RESULT=0
fi

cd /

exit $STAGE_RESULT<commit_msg>KIEKER-1432 Removed config and remote settings and put the remote setting inline in the push command.<commit_after>#!/usr/bin/env bash

WORK_DIR=/tmp/kieker

if [ "${SNAP_BRANCH}" == "master" ]; then
  echo "We are in master - pushing to stable branch."
  cd ${WORK_DIR}

  # Push content of master branch to stable branch
  git push <EMAIL>:kieker-monitoring/kieker.git master:stable

  STAGE_RESULT=$?
else
  echo "We are not in master - skipping."
  STAGE_RESULT=0
fi

cd /

exit $STAGE_RESULT
{'fraction_non_alphanumeric': 0.10572259941804074, 'fraction_numerical': 0.005819592628516004, 'mean_word_length': 3.8, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, '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': '3821013', 'n_tokens_mistral': 368, 'n_tokens_neox': 345, 'n_words': 119}