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

Labeling with other triggers #810

Open
aSyoriKano opened this issue Oct 7, 2024 · 1 comment
Open

Labeling with other triggers #810

aSyoriKano opened this issue Oct 7, 2024 · 1 comment
Labels
feature request New feature or request to improve the current logic

Comments

@aSyoriKano
Copy link

Description:
The current autolabeler action primarily supports labeling for pull_request events only. My proposal is to enhance this action to also support other types of GitHub events such as push, issues, and schedule, allowing it to automatically apply labels in these scenarios as well.

Justification:
Many workflows could benefit from automated labeling not only on pull requests but also on other events like pushes to specific branches or the creation of issues. In my case, I have workflows triggered by push events that automatically create pull requests. I intended to have labels applied within the same workflow, but currently, labels cannot be added because pull_request events are not triggered by pull request creations from workflows. Additionally, in push events, the event payload does not include the pull request information, resulting in the workflow handling it as "no branch" and thus failing to apply labels. This feature would enable GitHub Actions users to utilize labeling more flexibly and effectively across their projects, especially in automating workflow steps that are currently disjointed due to event limitations.

Are you willing to submit a PR?
I have not developed actions before, but I am willing to contribute to the implementation of this feature with the appropriate support and guidance.

@aSyoriKano aSyoriKano added feature request New feature or request to improve the current logic needs triage labels Oct 7, 2024
@gowridurgad
Copy link

Hello @aSyoriKano,
Thank you for creating this feature request. We will investigate it and get back to you as soon as we have some feedback.

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

2 participants