|
| 1 | +<!-- |
| 2 | + Licensed to the Apache Software Foundation (ASF) under one |
| 3 | + or more contributor license agreements. See the NOTICE file |
| 4 | + distributed with this work for additional information |
| 5 | + regarding copyright ownership. The ASF licenses this file |
| 6 | + to you under the Apache License, Version 2.0 (the |
| 7 | + "License"); you may not use this file except in compliance |
| 8 | + with the License. You may obtain a copy of the License at |
| 9 | +
|
| 10 | + http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | +
|
| 12 | + Unless required by applicable law or agreed to in writing, |
| 13 | + software distributed under the License is distributed on an |
| 14 | + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 15 | + KIND, either express or implied. See the License for the |
| 16 | + specific language governing permissions and limitations |
| 17 | + under the License. |
| 18 | + --> |
| 19 | + |
| 20 | +<!-- START doctoc generated TOC please keep comment here to allow auto update --> |
| 21 | +<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --> |
| 22 | +**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)* |
| 23 | + |
| 24 | +- [Apache Airflow — pr-management-triage CI-check to doc-URL map](#apache-airflow--pr-management-triage-ci-check-to-doc-url-map) |
| 25 | + - [Table](#table) |
| 26 | + - [Notes](#notes) |
| 27 | + |
| 28 | +<!-- END doctoc generated TOC please keep comment here to allow auto update --> |
| 29 | + |
| 30 | +<!-- SPDX-License-Identifier: Apache-2.0 |
| 31 | + https://www.apache.org/licenses/LICENSE-2.0 --> |
| 32 | + |
| 33 | +# Apache Airflow — pr-management-triage CI-check to doc-URL map |
| 34 | + |
| 35 | +This file is the **CI-check categorisation table** for the |
| 36 | +[`pr-management-triage`](../../.claude/skills/pr-management-triage/SKILL.md) skill's |
| 37 | +violations comments. It contains the concrete mapping for the |
| 38 | +Apache Airflow project. New adopters should copy this file into |
| 39 | +their own `<project-config>/pr-management-triage-ci-check-map.md` |
| 40 | +and replace every Airflow-specific pattern and URL with their |
| 41 | +project's equivalents. |
| 42 | + |
| 43 | +## Table |
| 44 | + |
| 45 | +Each row maps a **GitHub check name pattern** (case-insensitive |
| 46 | +substring match) to a **human-readable category name** the skill |
| 47 | +prints in the violations comment, plus a **doc URL** the skill |
| 48 | +links to. |
| 49 | + |
| 50 | +| Pattern | Category | Doc URL | |
| 51 | +|---|---|---| |
| 52 | +| `static checks`, `pre-commit`, `prek` | Pre-commit / static checks | `https://github.com/apache/airflow/blob/main/contributing-docs/08_static_code_checks.rst` | |
| 53 | +| `ruff` | Ruff (linting / formatting) | `https://github.com/apache/airflow/blob/main/contributing-docs/08_static_code_checks.rst` | |
| 54 | +| `mypy-` | mypy (type checking) | `https://github.com/apache/airflow/blob/main/contributing-docs/08_static_code_checks.rst` | |
| 55 | +| `unit test`, `test-` | Unit tests | `https://github.com/apache/airflow/blob/main/contributing-docs/09_testing.rst` | |
| 56 | +| `docs`, `spellcheck-docs`, `build-docs` | Build docs | `https://github.com/apache/airflow/blob/main/contributing-docs/11_documentation_building.rst` | |
| 57 | +| `helm` | Helm tests | `https://github.com/apache/airflow/blob/main/contributing-docs/testing/helm_unit_tests.rst` | |
| 58 | +| `k8s`, `kubernetes` | Kubernetes tests | `https://github.com/apache/airflow/blob/main/contributing-docs/testing/k8s_tests.rst` | |
| 59 | +| `build ci image`, `build prod image`, `ci-image`, `prod-image` | Image build | `https://github.com/apache/airflow/blob/main/contributing-docs/08_static_code_checks.rst` | |
| 60 | +| `provider` | Provider tests | `https://github.com/apache/airflow/blob/main/contributing-docs/12_provider_distributions.rst` | |
| 61 | +| `*` (catch-all) | Other failing CI checks | `https://github.com/apache/airflow/blob/main/contributing-docs/08_static_code_checks.rst` | |
| 62 | + |
| 63 | +## Notes |
| 64 | + |
| 65 | +- **Order matters.** The skill matches first-found; more-specific |
| 66 | + patterns are listed above broader ones (e.g. `mypy-airflow-core` |
| 67 | + matches the `mypy-` row). |
| 68 | +- **Mergeability fallback.** If the PR has `mergeable == |
| 69 | + CONFLICTING`, the skill emits a separate "Merge conflicts" |
| 70 | + category linking to the project's git/rebase doc: |
| 71 | + |
| 72 | +| Concept | Doc URL | |
| 73 | +|---|---| |
| 74 | +| Merge conflicts (rebase guide) | `https://github.com/apache/airflow/blob/main/contributing-docs/10_working_with_git.rst` | |
| 75 | + |
| 76 | +- **Failing-CI fallback.** If `checks_state == FAILURE` but no |
| 77 | + failed check names are extractable, the skill emits a generic |
| 78 | + "Failing CI checks" entry pointing at the same doc URL as the |
| 79 | + catch-all row above. |
0 commit comments