<commit_before>pipeline: 
  discord: 
    image: appleboy/drone-discord
    message: |-
        {{ #success build.status }}
            build {{ build.number }} succeeded. Good job.
        {{ else }}
            build {{ build.number }} failed. Fix me please.
        {{ /success }}
    secrets: 
      - discord_webhook_id
      - discord_webhook_token
  frontend: 
    commands: 
      - "npm install"
      - "npm test"
    image: "webhippie/nodejs:latest"
    when: 
      event: 
        - push
        - pull_request

<commit_msg>CI: Clone using git plugin.<commit_after>workspace:
  base: /srv/app
clone:
  git:
    image: plugins/git:1
    depth: 50
    tags: false

pipeline:
  frontend:
      image: webhippie/nodejs:latest
      pull: true
      commands:
          - npm install
          - npm test
      when:
          event: [ push, pull_request ]
  discord:
      image: appleboy/drone-discord
      pull: true
      secrets: [ discord_webhook_id, discord_webhook_token ]
      message: |
        {{ #success build.status }}
            build {{ build.number }} succeeded. Good job.
        {{ else }}
            build {{ build.number }} failed. Fix me please.
        {{ /success }}

{'fraction_non_alphanumeric': 0.10806317539484622, 'fraction_numerical': 0.0024937655860349127, 'mean_word_length': 1.761467889908257, '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': '1907630', 'n_tokens_mistral': 378, 'n_tokens_neox': 366, 'n_words': 89}