<commit_before>version: 2
jobs:
  versioning:
    docker:
      - image: circleci/golang:1.11
    working_directory: /go/src/github.com/{{ORG_NAME}}/{{REPO_NAME}}
    master: master
    steps:
      - checkout
      - add_ssh_keys:
          fingerprints:
            - "b5:40:bd:39:2d:5b:2d:2c:f0:98:98:22:2d:97:56:b9"
      - run:
          name: git-configure
          command: |
            git config --global user.name "n0stack bot"
            git config --global user.email "<EMAIL>"
            echo -e "Host github.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
      - restore_cache:
          keys:
            - vendor-master
      - run:
          name: build version
          command: |
            GO111MODULE=on make vendor
            make build-n0version
      - run:
          name: increment version
          command: make increment
      - run:
          name: push
          command: |
            git add -f VERSION
            git commit -m "increment version for $(cat VERSION) [skip ci]"
            git push origin master
      - save_cache:
          key: vendor-master
          paths:
            - vendor
workflows:
  version: 2
  all:
    jobs:
      # - build:
      # - test:
      #     requires:
      #       - build
      - versioning:
          # requires:
          #   - test
          filters:
            branches:<commit_msg>fix missed english on circle ci config<commit_after>version: 2
jobs:
  versioning:
    docker:
      - image: circleci/golang:1.11
    working_directory: /go/src/github.com/{{ORG_NAME}}/{{REPO_NAME}}
    master: master
    steps:
      - checkout
      - add_ssh_keys:
          fingerprints:
            - "b5:40:bd:39:2d:5b:2d:2c:f0:98:98:22:2d:97:56:b9"
      - run:
          name: git-configure
          command: |
            git config --global user.name "n0stack bot"
            git config --global user.email "<EMAIL>"
            echo -e "Host github.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
      - restore_cache:
          keys:
            - vendor-master
      - run:
          name: build version
          command: |
            GO111MODULE=on make vendor
            make build-n0version
      - run:
          name: increment version
          command: make increment
      - run:
          name: push
          command: |
            git add -f VERSION
            git commit -m "increment version to $(cat VERSION) [skip ci]"
            git push origin master
      - save_cache:
          key: vendor-master
          paths:
            - vendor
workflows:
  version: 2
  all:
    jobs:
      # - build:
      # - test:
      #     requires:
      #       - build
      - versioning:
          # requires:
          #   - test
          filters:
            branches:
{'fraction_non_alphanumeric': 0.10071942446043165, 'fraction_numerical': 0.02302158273381295, 'mean_word_length': 1.3627867459643161, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '1028533', 'n_tokens_mistral': 880, 'n_tokens_neox': 840, 'n_words': 201}