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

Use github wf to add module labels for PR based on file changes #14101

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

pseudo-nymous
Copy link
Contributor

@pseudo-nymous pseudo-nymous commented Jan 4, 2025

Description

Adds a new bot to automate labelling of pull requests with module tags based on file changes.
This bot uses .github/labeler.yml file to maintain mapping for module labels to corresponding regex paths to track.

This workflow is triggered using pull_request_target event which provides necessary write permission for adding labels to PRs. More details around this event: StackOverflow

Testing

Tested changes by creating pr on my own fork. pseudo-nymous#2

Closes #13897

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create bot to label PRs based on the files they touch
1 participant