Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Labeler should search for labeler.yml AND labeler.yaml #813

Open
5 tasks done
shadiramadan opened this issue Oct 11, 2024 · 2 comments
Open
5 tasks done

Labeler should search for labeler.yml AND labeler.yaml #813

shadiramadan opened this issue Oct 11, 2024 · 2 comments
Labels
feature request New feature or request to improve the current logic

Comments

@shadiramadan
Copy link

shadiramadan commented Oct 11, 2024

Description:
YAML recommends .yaml as the preferred extension type: https://yaml.org/faq.html
The Labeler action errors if the labeler file is created with .yaml. It should support both .yml and .yaml

Action version:
Any/latest

Platform:

  • Ubuntu
  • macOS
  • Windows

Runner type:

  • Hosted
  • Self-hosted

Repro steps:
Use .yaml as the file extension.

Expected behavior:
A description of what you expected to happen.

The action should support .yaml as if it was .yml

Actual behavior:
A description of what is actually happening.

The config file was not found at .github/labeler.yml.

@shadiramadan shadiramadan added bug Something isn't working needs triage labels Oct 11, 2024
@shadiramadan shadiramadan changed the title Labeler should search for labeler.yml OR labeler.yaml Labeler should search for labeler.yml AND labeler.yaml Oct 11, 2024
@gowridurgad
Copy link

Hi @shadiramadan,
Thank you for reporting this issue. We will investigate it and get back to you as soon as we have some feedback.

@suyashgaonkar suyashgaonkar self-assigned this Nov 4, 2024
@suyashgaonkar suyashgaonkar added feature request New feature or request to improve the current logic and removed bug Something isn't working labels Nov 13, 2024
@suyashgaonkar
Copy link
Contributor

Hi @shadiramadan , currently, actions/labeler does not support YAML files. We will address this in future updates and are classifying this as a feature request for now

@suyashgaonkar suyashgaonkar removed their assignment Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request to improve the current logic
Projects
None yet
Development

No branches or pull requests

3 participants