<commit_before>name: Sync templates and CI config.

on:
  push:
    branches:
      - debug-sync
      - master

concurrency:
  group: sync-templates-and-ci-config
  cancel-in-progress: true

jobs:
  sync-templates-and-ci-config:
    if: github.repository == 'Homebrew/homebrew-cask'
    runs-on: ubuntu-latest
    strategy:
      matrix:
        repo:
          - Homebrew/homebrew-cask-drivers
          - Homebrew/homebrew-cask-fonts
          - Homebrew/homebrew-cask-versions
    steps:
      - name: Clone main repository
        uses: actions/checkout@v3
        with:
          persist-credentials: false

      - name: Clone secondary repository
        uses: actions/checkout@v3
        with:
          repository: ${{ matrix.repo }}
          path: vendor/${{ matrix.repo }}
          persist-credentials: false

      - name: Configure Git user
        uses: Homebrew/actions/git-user-config@master
        with:
          username: BrewTestBot

      - name: Set up GPG commit signing
        id: set-up-commit-signing
        uses: Homebrew/actions/setup-commit-signing@master
        with:
          signing_key: ${{ secrets.BREWTESTBOT_GPG_SIGNING_SUBKEY }}

      - name: Detect changes
        id: detect_changes
        run: ./.github/actions/sync/templates.rb 'vendor/${{ matrix.repo }}' '${{ matrix.repo }}' 'sync-templates-and-ci-config'
        env:
          HOMEBREW_GPG_PASSPHRASE: ${{ secrets.BREWTESTBOT_GPG_SIGNING_SUBKEY_PASSPHRASE }}

      - name: Create pull request
        uses: peter-evans/create-pull-request@d6d5519d05f5814158ef015b8448f2f74648c421
        with:
          path: vendor/${{ matrix.repo }}
          token: ${{ secrets.HOMEBREW_CASK_SYNC_TOKEN }}
          branch: sync-templates-and-ci-config
          title: Synchronize templates and CI configuration.
          body: >
            This pull request was created automatically by the<commit_msg>Bump peter-evans/create-pull-request from 4.0.0 to 4.0.1 (#121480)<commit_after>name: Sync templates and CI config.

on:
  push:
    branches:
      - debug-sync
      - master

concurrency:
  group: sync-templates-and-ci-config
  cancel-in-progress: true

jobs:
  sync-templates-and-ci-config:
    if: github.repository == 'Homebrew/homebrew-cask'
    runs-on: ubuntu-latest
    strategy:
      matrix:
        repo:
          - Homebrew/homebrew-cask-drivers
          - Homebrew/homebrew-cask-fonts
          - Homebrew/homebrew-cask-versions
    steps:
      - name: Clone main repository
        uses: actions/checkout@v3
        with:
          persist-credentials: false

      - name: Clone secondary repository
        uses: actions/checkout@v3
        with:
          repository: ${{ matrix.repo }}
          path: vendor/${{ matrix.repo }}
          persist-credentials: false

      - name: Configure Git user
        uses: Homebrew/actions/git-user-config@master
        with:
          username: BrewTestBot

      - name: Set up GPG commit signing
        id: set-up-commit-signing
        uses: Homebrew/actions/setup-commit-signing@master
        with:
          signing_key: ${{ secrets.BREWTESTBOT_GPG_SIGNING_SUBKEY }}

      - name: Detect changes
        id: detect_changes
        run: ./.github/actions/sync/templates.rb 'vendor/${{ matrix.repo }}' '${{ matrix.repo }}' 'sync-templates-and-ci-config'
        env:
          HOMEBREW_GPG_PASSPHRASE: ${{ secrets.BREWTESTBOT_GPG_SIGNING_SUBKEY_PASSPHRASE }}

      - name: Create pull request
        uses: peter-evans/create-pull-request@<PASSWORD>
        with:
          path: vendor/${{ matrix.repo }}
          token: ${{ secrets.HOMEBREW_CASK_SYNC_TOKEN }}
          branch: sync-templates-and-ci-config
          title: Synchronize templates and CI configuration.
          body: >
            This pull request was created automatically by the
{'fraction_non_alphanumeric': 0.10227569971226785, 'fraction_numerical': 0.012032435260266806, 'mean_word_length': 2.157720891824938, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 6, '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': '928860', 'n_tokens_mistral': 1223, 'n_tokens_neox': 1173, 'n_words': 241}