OpenMetadata/.github/scripts
IceS2 1fa0c79d27
chore(github): migrate issue templates to structured forms (#27710)
* chore(github): migrate issue templates to structured forms

- Convert bug_report, feature_request, doc_update to GitHub issue forms (YAML)
- Add connector_bug form with free-text Connector field
- Drop epic and feature_task templates (stale since 2022, no usage evidence)
- Add auto-label workflow that maps the Connector field to a namespaced
  connector:<name> label, falling back to connector:other on 0 or 2+ matches
- Labels are applied exclusively and auto-created with a grey "Connector"
  description when missing

* chore(github): drop redundant pipeline type field from connector_bug form

Feature area already covers metadata/lineage/profiler/usage distinction.

* fix(github): address PR review feedback

- bug_report.yml: add labels: ["bug"] for pattern consistency
- label-connector.yml: add contents: read permission (needed by checkout)
- label_connector.py: raise on unexpected HTTP status; accept 404 for
  idempotent GET-label and DELETE-label-from-issue; stop echoing the
  raw Connector field value into workflow logs
2026-04-24 14:08:20 +02:00
..
label_connector.py chore(github): migrate issue templates to structured forms (#27710) 2026-04-24 14:08:20 +02:00