<commit_before>name: Quality Checks

on:
  pull_request:
    branches: [master]
  push:
    branches: [master]

env:
  TARGET_BRANCH: master

jobs:
  doxygen:
    name: Doxygen Syntax Check
    container: khronosgroup/vulkan-samples
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - run: mkdir -p doxygen
    - run: doxygen docs/doxygen/doxyfile
    - run: if [ $(stat -c%s doxygen/warnings.txt) -gt 0 ]; then cat doxygen/warnings.txt; exit 1; fi

  copyright_headers:
    name: Copyright Headers Check
    container: khronosgroup/vulkan-samples
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - run: git fetch origin $TARGET_BRANCH:$TARGET_BRANCH
    - run: python3 /usr/local/bin/check_copyright_headers.py $TARGET_BRANCH<commit_msg>Only quality check on PRs (#201)<commit_after>name: Quality Checks

on:
  pull_request:
    branches: [master]

env:
  TARGET_BRANCH: master

jobs:
  doxygen:
    name: Doxygen Syntax Check
    container: khronosgroup/vulkan-samples
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - run: mkdir -p doxygen
    - run: doxygen docs/doxygen/doxyfile
    - run: if [ $(stat -c%s doxygen/warnings.txt) -gt 0 ]; then cat doxygen/warnings.txt; exit 1; fi

  copyright_headers:
    name: Copyright Headers Check
    container: khronosgroup/vulkan-samples
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - run: git fetch origin $TARGET_BRANCH:$TARGET_BRANCH
    - run: python3 /usr/local/bin/check_copyright_headers.py $TARGET_BRANCH
{'fraction_non_alphanumeric': 0.10051216389244558, 'fraction_numerical': 0.008322663252240717, 'mean_word_length': 3.190348525469169, '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': '4793540', 'n_tokens_mistral': 583, 'n_tokens_neox': 555, 'n_words': 135}