<commit_before>name: Release plugin
on:
  release:
    types: [published]
jobs:
  release:
    name: New release
    runs-on: ubuntu-latest
    steps:
    - name: Checkout code
      uses: actions/checkout@v2

    - name: Build
      uses: php-actions/composer@v5
      with:
        command: install
        version: 1
        php_version: 7.4

    - name: Remove intentional crash test in dependency
      uses: php-actions/composer@v5
      with:
        command: run-script clean-crash-test
        version: 1
        php_version: 7.4

    - name: WordPress Plugin Deploy
      id: deploy
      uses: 10up/action-wordpress-plugin-deploy@stable
      with:
        generate-zip: true
      env:
        SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
        SVN_PASSWORD: ${{ <PASSWORD> }}
        SLUG: cloudflare

    - name: Upload release asset
      uses: actions/upload-release-asset@v1
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
      with:
        upload_url: ${{ github.event.release.upload_url }}
        asset_path: ${{ github.workspace }}/cloudflare.zip
        asset_name: cloudflare.zip
        asset_content_type: application/zip
<commit_msg>no need for development deps on releases<commit_after>name: Release plugin
on:
  release:
    types: [published]
jobs:
  release:
    name: New release
    runs-on: ubuntu-latest
    steps:
    - name: Checkout code
      uses: actions/checkout@v2

    - name: Build
      uses: php-actions/composer@v5
      with:
        command: install
        dev: no
        version: 1
        php_version: 7.4

    - name: Remove intentional crash test in dependency
      uses: php-actions/composer@v5
      with:
        command: run-script clean-crash-test
        version: 1
        php_version: 7.4

    - name: WordPress Plugin Deploy
      id: deploy
      uses: 10up/action-wordpress-plugin-deploy@stable
      with:
        generate-zip: true
      env:
        SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
        SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
        SLUG: cloudflare

    - name: Upload release asset
      uses: actions/upload-release-asset@v1
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
      with:
        upload_url: ${{ github.event.release.upload_url }}
        asset_path: ${{ github.workspace }}/cloudflare.zip
        asset_name: cloudflare.zip
        asset_content_type: application/zip

{'fraction_non_alphanumeric': 0.09420591913297208, 'fraction_numerical': 0.010004168403501459, 'mean_word_length': 2.1662269129287597, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '3369864', 'n_tokens_mistral': 788, 'n_tokens_neox': 731, 'n_words': 178}