<commit_before>name: Sync storage-refactor
on:
  schedule:
    - cron: 0 23 * * 1-5 # Week-daily at 23:00 UTC / 16:00 PST
  workflow_dispatch: {} # Allow manual triggering

jobs:
  sync-storage-refactor:
    runs-on: ubuntu-latest
    name: Syncing storage-refactor
    steps:
      - name: Checkout
        uses: actions/checkout@v3
      - name: Set up Node
        uses: actions/setup-node@v3
        with:
          node-version: 16
      - name: Get change notes
        id: changes
        run: echo ::set-output name=change_notes::$(git log storage-refactor..main --oneline --pretty=format:%s)
      - name: Opening pull request
        id: pull
        # https://github.com/marketplace/actions/sync-branches
        uses: tretuna/sync-branches@1.4.0
        with:
          GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
          FROM_BRANCH: "main"
          TO_BRANCH: "storage-refactor"
          REVIEWERS: '["noahdietz", "cloud-storage-dpe"]'
          PULL_REQUEST_TITLE: "chore: sync main to storage-refactor"
          PULL_REQUEST_BODY: "${{ steps.changes.outputs.change_notes }}"<commit_msg>chore(ci): storage-refactor sync use Yoshi Code Bot (#6355)<commit_after>name: Sync storage-refactor
on:
  schedule:
    - cron: 0 23 * * 1-5 # Week-daily at 23:00 UTC / 16:00 PST
  workflow_dispatch: {} # Allow manual triggering

jobs:
  sync-storage-refactor:
    runs-on: ubuntu-latest
    name: Syncing storage-refactor
    steps:
      - name: Checkout
        uses: actions/checkout@v3
      - name: Set up Node
        uses: actions/setup-node@v3
        with:
          node-version: 16
      - name: Get change notes
        id: changes
        run: echo ::set-output name=change_notes::$(git log storage-refactor..main --oneline --pretty=format:%s)
      - name: Opening pull request
        id: pull
        # https://github.com/marketplace/actions/sync-branches
        uses: tretuna/sync-branches@1.4.0
        with:
          GITHUB_TOKEN: ${{secrets.YOSHI_CODE_BOT_TOKEN}}
          FROM_BRANCH: "main"
          TO_BRANCH: "storage-refactor"
          REVIEWERS: '["noahdietz", "cloud-storage-dpe"]'
          PULL_REQUEST_TITLE: "chore: sync main to storage-refactor"
          PULL_REQUEST_BODY: "${{ steps.changes.outputs.change_notes }}"
{'fraction_non_alphanumeric': 0.1172566371681416, 'fraction_numerical': 0.019469026548672566, 'mean_word_length': 2.4, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4420372', 'n_tokens_mistral': 793, 'n_tokens_neox': 740, 'n_words': 169}