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

[CI Workflow] PR auto label MGMT #2749

Closed
wants to merge 5 commits into from

Conversation

MyDrift-user
Copy link
Contributor

@MyDrift-user MyDrift-user commented Sep 16, 2024

Warning

On Repo Settings go to Actions - General then make sure Workflow permissions is set to Read and write permissions.

Type of Change

  • New feature

Description

  • automatically adds/removes labels to PR's based on body using template components.
  • if label does not exist yet, it will add it so no need for additional config outside of the workflow
  • Labels will be automatically applied/removed from PR's based on checking following checkboxes:
## Type of Change
- [ ] New feature -> "enhancement"
- [ ] Bug fix -> "bug"
- [ ] Documentation update -> "documentation"
- [ ] Refactoring -> "refractor"
- [ ] Hotfix -> "bug"
- [ ] Security patch -> "bug"
- [ ] UI/UX improvement -> "UI/UX"

Testing

  • Tested on own repo, worked with adding and removing labels. mwm

Impact

  • Chris does not need to manually label the PRs anymore, it lies in the hands of the OP to correctly label the PR.

Issue related to PR

Additional Information

Checklist

  • My code adheres to the coding and style guidelines of the project.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have made corresponding changes to the documentation.
  • My changes generate no errors/warnings/merge conflicts.

- declare config on start (easily editable)
- remove redundancy
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.

Auto Label PRs
1 participant