<commit_before>name: main-build

on:
  push:
    branches:
      - main

jobs:
  build-merged:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - name: Use Node.js
      uses: actions/setup-node@v2
      with:
        node-version: '16'
    - name: Run npm steps
      run: |
        npm install
        npm run merge
        npm run merge.ci
    - name: build-merged-build
      run: ./ci/build-merged-build.sh
    - name: deploy-merged-build
      uses: peaceiris/actions-gh-pages@v3
      if: github.ref == 'refs/heads/main' && github.repository == 'abapGit/abapGit'
      with:
        deploy_key: ${{ secrets.DEPLOY_ABAPGIT_BUILD }}
        external_repository: abapGit/build
        user_name: 'github-actions[bot]'
        user_email: '<EMAIL>[<EMAIL>]<EMAIL>'
        publish_branch: main
        publish_dir: ../build
    - name: Upload build artifact
      if: always()
      uses: actions/upload-artifact@main
      with:
        name: zabapgit_standalone.abap
        path: ./zabapgit.abap
        retention-days: 7

  auto-tag:
    - uses: actions/checkout@v2
      with:
        fetch-depth: 2
    - uses: actions/setup-node@v2
      with:
        node-version: '16'
    - name: deploy-release-tag
      if: github.ref == 'refs/heads/main' && github.repository == 'abapGit/abapGit'
      env:
        GITHUB_API_KEY: ${{ secrets.GITHUB_TOKEN }}<commit_msg>Actions: fix syntax? (#5481)<commit_after>name: main-build

on:
  push:
    branches:
      - main

jobs:
  build-merged:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - name: Use Node.js
      uses: actions/setup-node@v2
      with:
        node-version: '16'
    - name: Run npm steps
      run: |
        npm install
        npm run merge
        npm run merge.ci
    - name: build-merged-build
      run: ./ci/build-merged-build.sh
    - name: deploy-merged-build
      uses: peaceiris/actions-gh-pages@v3
      if: github.ref == 'refs/heads/main' && github.repository == 'abapGit/abapGit'
      with:
        deploy_key: ${{ secrets.DEPLOY_ABAPGIT_BUILD }}
        external_repository: abapGit/build
        user_name: 'github-actions[bot]'
        user_email: '<EMAIL>[<EMAIL>'
        publish_branch: main
        publish_dir: ../build
    - name: Upload build artifact
      if: always()
      uses: actions/upload-artifact@main
      with:
        name: zabapgit_standalone.abap
        path: ./zabapgit.abap
        retention-days: 7

  auto-tag:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
      with:
        fetch-depth: 2
    - uses: actions/setup-node@v2
      with:
        node-version: '16'
    - name: deploy-release-tag
      if: github.ref == 'refs/heads/main' && github.repository == 'abapGit/abapGit'
      env:
        GITHUB_API_KEY: ${{ secrets.GITHUB_TOKEN }}
{'fraction_non_alphanumeric': 0.12204585537918872, 'fraction_numerical': 0.009171075837742505, 'mean_word_length': 2.0527448869752423, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, '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': '1533582', 'n_tokens_mistral': 1027, 'n_tokens_neox': 959, 'n_words': 198}