-
-
Notifications
You must be signed in to change notification settings - Fork 206
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
Add GitHub Action to auto-close PRs with style tags #3827
base: main
Are you sure you want to change the base?
Add GitHub Action to auto-close PRs with style tags #3827
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correct approach but we don’t want to check labels, we want to check code staged for merge. Sort of like the precommit
@DonnieBLT Ok, I will look into it and make the necessary changes. |
…idipsingh/BLT into auto-close-prs-with-style-tags
…idipsingh/BLT into auto-close-prs-with-style-tags
Hi @DonnieBLT, Could you please review my changes and let me know if there's anything else I should modify? |
User description
<style>
tags.Fixes: #3825
PR Type
Enhancement, Configuration changes
Description
Added a GitHub Action to automatically close PRs with style-related labels.
Configured the workflow to trigger on PR label addition events.
Implemented logic to detect specific style-related labels like
style
,css
, andformatting
.Automated PR closure with a comment explaining the reason.
Changes walkthrough 📝
close-style-prs.yml
Added GitHub Action to close PRs with style tags
.github/workflows/close-style-prs.yml
detected.