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

Adding Labeler workflow #188

Closed
wants to merge 15 commits into from
Closed

Adding Labeler workflow #188

wants to merge 15 commits into from

Conversation

surajvast1
Copy link
Contributor

@surajvast1 surajvast1 commented Jan 25, 2024

Notes for Reviewers

This PR fixes #155

Signed commits

  • Yes, I signed my commits.

Signed-off-by: Shubham Srivastava <[email protected]>
Signed-off-by: Shubham Srivastava <[email protected]>
Signed-off-by: Shubham Srivastava <[email protected]>
Signed-off-by: Shubham Srivastava <[email protected]>
Signed-off-by: Shubham Srivastava <[email protected]>
Copy link

netlify bot commented Jan 25, 2024

Deploy Preview for bejewelled-pegasus-b0ce81 ready!

Name Link
🔨 Latest commit ba8b0e1
🔍 Latest deploy log https://app.netlify.com/sites/bejewelled-pegasus-b0ce81/deploys/65df448cd88a560008328f1e
😎 Deploy Preview https://deploy-preview-188--bejewelled-pegasus-b0ce81.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Signed-off-by: Shubham Srivastava <[email protected]>
@iArchitSharma iArchitSharma added pr/do-not-merge PRs not ready to be merged and removed pr/do-not-merge PRs not ready to be merged labels Jan 25, 2024
component/cloud-docs:
- label: bug
paths:
- "content/en/meshmap/**/*"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are you labeling meshmap content with component-cloud-docs? Don't.

@hamza-mohd hamza-mohd added the area/ci Continuous integration | Build and release label Jan 26, 2024
@hamza-mohd
Copy link

Add area/ci for .github

@iArchitSharma iArchitSharma added the pr/draft WIP/Draft pull request label Jan 26, 2024
@@ -0,0 +1,11 @@

component/cloud-docs:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@surajvast1 this should be component/meshmap-docs as meshmap content is changed

also create one for component/cloud-docs too

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@iArchitSharma Sure I assumed both to be under a single label .
I'll make the changes

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@surajvast1 don't include meshery-docs here. That is a separate site. Use meshmap for meshmap.

One more chance to get this right. If you don't this time time, let's close this PR and allow another contributor a turn.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@leecalcote I guess there is a lack of communication here . I implemented it correctly before but as @iArchitSharma ask me to add component/meshmap-docs i changed it . Its updated now

surajvast1 and others added 2 commits January 27, 2024 12:02
Signed-off-by: surajvast1 <[email protected]>
Signed-off-by: Shubham Srivastava <[email protected]>
@saurabh100ni
Copy link
Contributor

Hi @surajvast1 ,
Thanks for your PR! I encourage you to share this in the Website Meeting tomorrow at 6:30 PM IST. Share your screen, and walk us through it. It's cool to take and share feedback. Check the Doc here to include this PR.

You're welcome at the meeting

Check to community calendar for more details of meetings at Layers.

Signed-off-by: Shubham Srivastava <[email protected]>
Signed-off-by: Shubham Srivastava <[email protected]>
@surajvast1
Copy link
Contributor Author

@iArchitSharma its updated and good to go

@iArchitSharma
Copy link
Contributor

@Yashsharma1911 can you please check if it works correctly ?

@@ -0,0 +1,11 @@

component/cloud-docs:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@surajvast1 don't include meshery-docs here. That is a separate site. Use meshmap for meshmap.

One more chance to get this right. If you don't this time time, let's close this PR and allow another contributor a turn.

@surajvast1
Copy link
Contributor Author

surajvast1 commented Feb 26, 2024

I have tested the labeler workflow at my end it works perfectly.
Test1) Updating a random file inside a code not in the mentioned path so it doesnot adds labeler.
https://github.com/surajvast1/docs/pull/17

Test2) Updating a file in this path content/en/cloud so it again does not adds labeler
https://github.com/surajvast1/docs/pull/18

Test3) Updating a file in the path content/en/meshmap/**/* as mentioned in the error .So you can see labeler here
https://github.com/surajvast1/docs/pull/19

Please consider it ,apologies for the miscommunication ,Thanks.

@leecalcote
Copy link
Member

good deal. @iArchitSharma are we good to go?

@leecalcote leecalcote requested review from leecalcote, hamza-mohd and iArchitSharma and removed request for leecalcote February 26, 2024 21:30
@iArchitSharma
Copy link
Contributor

@surajvast1 the request was to add the meshmap label when the meshmap docs are edited and add the cloud label when cloud docs are edited. Your pull request only adds the 'cloud' labeler to both."

@iArchitSharma
Copy link
Contributor

@surajvast1 #224

@surajvast1
Copy link
Contributor Author

surajvast1 commented Feb 28, 2024

Now you have added meshery-docs label . I hope it maches the requirements.Thanks I got to learn a lot working on this .

@iArchitSharma
Copy link
Contributor

@surajvast1 It is meshmap docs label which is different from meshery

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ci Continuous integration | Build and release pr/draft WIP/Draft pull request
Development

Successfully merging this pull request may close these issues.

[CI] Add automatic GitHub issue labeler configuration for Cloud and MeshMap paths
5 participants