# .github/workflows/crawlcheck.yml - CrawlCheck fixes for meilisearch.com
# Weekly, and on demand from the Actions tab: when the robots.txt meilisearch.com serves has a defect CrawlCheck can repair,
# the corrected file is written to public/robots.txt and one pull request is opened. Nothing is merged for you.
# Allow it to open PRs: Settings > Actions > General > Allow GitHub Actions to create and approve pull requests.
name: CrawlCheck fixes
on:
  schedule: [{ cron: "17 13 * * 1" }]
  workflow_dispatch:
permissions:
  contents: write
  pull-requests: write
jobs:
  fix:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v5
      - uses: emmanuelorta/crawlcheck-core/action@main
        with:
          domain: meilisearch.com
          robots-path: public/robots.txt
