<commit_before>name: Interaction Limits

on:
  schedule:
    - cron: '0 0 1 * *'

jobs:
  update-limits:
    name: Update interaction limits
    runs-on: ubuntu-latest
    steps:
      - name: Remove interaction limits
        uses: actions/github-script@v3
        with:
          github-token: ${{ secrets.GH_TOKEN }}
          script: |
            github.interactions.removeRestrictionsForRepo({
              owner: context.repo.owner,
              repo: context.repo.repo,
            })
      - name: Set interaction limits
        uses: actions/github-script@v3
        with:
          github-token: ${{ secrets.GH_TOKEN }}
          script: |
            github.interactions.setRestrictionsForRepo({
              owner: context.repo.owner,
              repo: context.repo.repo,<commit_msg>actions: Remove redundant code<commit_after>name: Interaction Limits

on:
  schedule:
    - cron: '0 0 1 * *'

jobs:
  update-limits:
    name: Update interaction limits
    runs-on: ubuntu-latest
    steps:
      - name: Run GitHub script
        uses: actions/github-script@v3
        with:
          github-token: ${{ secrets.GH_TOKEN }}
          script: |
            await github.interactions.removeRestrictionsForRepo({
              owner: context.repo.owner,
              repo: context.repo.repo,
            })
            await github.interactions.setRestrictionsForRepo({
              owner: context.repo.owner,
              repo: context.repo.repo,
{'fraction_non_alphanumeric': 0.09829351535836177, 'fraction_numerical': 0.0061433447098976105, 'mean_word_length': 1.8688845401174168, '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': '2200654', 'n_tokens_mistral': 431, 'n_tokens_neox': 411, 'n_words': 90}