Skip to content

[BUG] Missing .github/labeler.yml causes Labeler CI to fail on every PR #313

Description

@rohitkumarnaidu

Bug Description

The Labeler workflow (.github/workflows/label.yml) uses actions/labeler@v4, which requires a .github/labeler.yml configuration file to map file paths to PR labels. However, this configuration file does NOT exist in the repository.

This causes the Labeler CI check to fail on EVERY pull request with the error:
HttpError: Not Found

Impact

  • Every single PR in this repository shows a failing CI check, even when the actual code is correct
  • This creates confusion for contributors who think their code is broken
  • Maintainers cannot distinguish real CI failures from this false-positive
  • It discourages new contributors who see red X marks on their PRs

Steps to Reproduce

  1. Open any PR in this repository
  2. Check the CI status checks
  3. The "Labeler" check always fails with "HttpError: Not Found"

Root Cause

The workflow at .github/workflows/label.yml references actions/labeler@v4 which requires a .github/labeler.yml config file. This file is missing from the repository.

Suggested Fix

Create a .github/labeler.yml file with path-based label mappings. Example:

frontend:

  • src/**/*
  • public/**/*

backend:

  • server/**/*

documentation:

  • '*.md'
  • docs/**/*

ci:

  • .github/**/*

dependencies:

  • package.json
  • package-lock.json
  • server/package.json

Alternatively, if auto-labeling is not needed, remove or disable the .github/workflows/label.yml workflow entirely to stop the false CI failures.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions