<commit_before># This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: Build Assets on develop and Publish to Public bucket

on:
  push:
    branches: [ develop ]

jobs:
  build:
    runs-on: ubuntu-latest
    container: frappe/bench:latest

    steps:
    - name: Set up bench
      run: |
        sudo bench init frappe-bench --skip-assets --python $(which python)
        cd frappe-bench/apps/frappe && git checkout $GITHUB_SHA
        bench build

    - name: Package assets
      run: |<commit_msg>fix: Run bench as frappe user<commit_after># This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: Build Assets on develop and Publish to Public bucket

on:
  push:
    branches: [ develop ]

jobs:
  build:
    runs-on: ubuntu-latest
    container: frappe/bench:latest

    steps:
    - name: Set up bench
      run: |
        sudo -H -u frappe bash -c 'bench init frappe-bench --skip-assets --python $(which python)'
        cd frappe-bench/apps/frappe && git checkout $GITHUB_SHA
        sudo -H -u frappe bash -c 'bench build'

    - name: Package assets
      run: |
{'fraction_non_alphanumeric': 0.09205903021784961, 'fraction_numerical': 0.0, 'mean_word_length': 2.9013698630136986, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '653091', 'n_tokens_mistral': 431, 'n_tokens_neox': 428, 'n_words': 150}