paths: “.github/**,.asf.yaml” applyTo: “.github/**,.asf.yaml”

CI workflows and Dependabot

GitHub Actions runners are shared by every ASF project. Agents adding or editing anything under .github/ must follow Infra's GitHub Actions policy (mandatory) and its guidance on reducing queue load. In this repository that means:

  • Platform workflows that run on pull requests carry the concurrency group already used in java-platform.yml, so a new push to a PR cancels its earlier runs. Pushes to develop are never cancelled:

    concurrency:
      group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
      cancel-in-progress: ${{ github.event_name == 'pull_request' }}
    
  • Short jobs that need no Docker run on ubuntu-slim (1 vCPU, 15 minute limit), not ubuntu-latest.

  • Each Dependabot ecosystem in .github/dependabot.yml groups both version updates and applies-to: security-updates, so each ecosystem opens one PR instead of one per dependency.

  • Actions outside apache/*, github/* and actions/* are pinned to a full commit SHA and must be on Infra's approved list (apache/infrastructure-actions).

  • No pull_request_target, and no matrix above 20 concurrent jobs per workflow (15 or fewer recommended).

Also

  • The Java, Go, C and Python workflows (<lang>-platform.yml) build with -P with-<lang>,enable-all-checks,update-generated-code; dotnet-platform.yml runs dotnet directly plus the generated-model check. Each runs only for its paths:: a change that adds a directory a language build depends on extends those filters.
  • .asf.yaml drives Infra's repository settings (merge buttons, branch protection, notifications); change it only when the task is about that, and say so in the PR.
  • agent-instructions.yml runs .agents/sync-adapters.sh --check when AGENTS.md, .agents/ or a generated copy changes.
  • .github/pull_request_template.md is what every PR body follows; CHANGELOG.md is written by changelog.yml, never by hand.