<commit_before>name: "Build and deploy"
on:
  push:
  pull_request:
jobs:
  build:
    runs-on: macos-10.15
    steps:
    - name: Setup | Checkout
      uses: actions/checkout@v2
      with:
        submodules: recursive
    - name: Setup | Ruby
      uses: ruby/setup-ruby@v1
    - name: Setup | Install
      run: |
        carthage bootstrap
        gem install xcpretty-travis-formatter
    - name: Build
      run: |
        xcodebuild -version
        xcodebuild -target Package
    - name: Tag release
      if: "github.ref == 'refs/heads/develop'"
      env:
          SITE_TOKEN: ${{ secrets.SITE_TOKEN }}
      run: |
        . Scripts/tag-beta.bash<commit_msg>Also use SITE_TOKEN to checkout code<commit_after>name: "Build and deploy"
on:
  push:
  pull_request:
jobs:
  build:
    runs-on: macos-10.15
    steps:
    - name: Setup | Checkout
      uses: actions/checkout@v2
      with:
        token: ${{secrets.SITE_TOKEN}}
        submodules: recursive
    - name: Setup | Ruby
      uses: ruby/setup-ruby@v1
    - name: Setup | Install
      run: |
        carthage bootstrap
        gem install xcpretty-travis-formatter
    - name: Build
      run: |
        xcodebuild -version
        xcodebuild -target Package
    - name: Tag release
      if: "github.ref == 'refs/heads/develop'"
      env:
          SITE_TOKEN: ${{ secrets.SITE_TOKEN }}
      run: |
        . Scripts/tag-beta.bash
{'fraction_non_alphanumeric': 0.10455192034139403, 'fraction_numerical': 0.008534850640113799, 'mean_word_length': 1.949685534591195, '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': '744519', 'n_tokens_mistral': 482, 'n_tokens_neox': 463, 'n_words': 112}