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

Added labels to gha-issues-template #4896

Merged
merged 5 commits into from
Jul 12, 2023

Conversation

one2code
Copy link
Member

@one2code one2code commented Jun 28, 2023

Fixes #4475

What changes did you make?

Added labels: ['role missing', 'Complexity: Missing', 'Feature: Github Board/ Maintenance', 'size: missing','Draft'] under description: in the gha-issues-template file found at .github/gha-issues-template.yml

Why did you make the changes (we will use this info to test)?

To prevent Github Action bots from removing labels when moved to a different column in the project board

Testing

Click here to test the labels on the gha-issues-template in my repo. And refer to this comment if you would like to push this branch up to your repo and test it there as well.

  • Copy these sections from the Issue into the PR
    • "For PR Reviewers and Merge Team"
    • "Link for Reviewers"
    • "For PM, Merge Team, or Tech Lead"

@github-actions
Copy link

Want to review this pull request? Take a look at this documentation for a step by step guide!

From your project repository, check out a new branch and test the changes.

git checkout -b one2code-gha-issue-template-4475 gh-pages
git pull https://github.com/one2code/website.git gha-issue-template-4475

@github-actions github-actions bot added role: front end Tasks for front end developers role: back end/devOps Tasks for back-end developers Complexity: Medium Feature: Board/GitHub Maintenance Project board maintenance that we have to do repeatedly size: 1pt Can be done in 4-6 hours labels Jun 28, 2023
@roslynwythe roslynwythe self-requested a review June 28, 2023 19:01
Copy link
Member

@roslynwythe roslynwythe left a comment

Choose a reason for hiding this comment

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

Hi @one2code thank you for providing the link to the issue template on onetocode/website. However when I followthat link, no labels appear on the issue template, probably because those labels don't exist in your repository. Please add the labels in your repository. Thanks.

@one2code one2code requested a review from roslynwythe June 30, 2023 04:09
@adrianang adrianang self-requested a review July 5, 2023 01:35
Copy link
Member

@adrianang adrianang left a comment

Choose a reason for hiding this comment

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

Hi @one2code! I took a look at the GHA issues template in your repo that you linked and noticed that it was missing the role missing label. I checked your source code and it matches with what the linked issue was asking for, so it doesn't seem like anything in the code needs to change, but I noticed that the labels in your repo (https://github.com/one2code/website/labels) has 'role missing' (single-quotes at the start and end of the tag) instead of role missing. If you remove the single quotes at the start and end of the 'role missing' tag/label in your repo, does that fix your template so that it has role missing pre-selected?

Otherwise, the branching looks good and the other four labels requested show up!

@one2code
Copy link
Member Author

one2code commented Jul 5, 2023

Hi @one2code! I took a look at the GHA issues template in your repo that you linked and noticed that it was missing the role missing label. I checked your source code and it matches with what the linked issue was asking for, so it doesn't seem like anything in the code needs to change, but I noticed that the labels in your repo (https://github.com/one2code/website/labels) has 'role missing' (single-quotes at the start and end of the tag) instead of role missing. If you remove the single quotes at the start and end of the 'role missing' tag/label in your repo, does that fix your template so that it has role missing pre-selected?

Otherwise, the branching looks good and the other four labels requested show up!

I've updated the label on my repo so now that role missing shows up. It was the ' ' around it. I forgot to remove it while troubleshooting and testing various changes on the labels in both the GHA and on my repo.

@one2code one2code requested a review from adrianang July 5, 2023 03:16
adrianang
adrianang previously approved these changes Jul 5, 2023
Copy link
Member

@adrianang adrianang left a comment

Choose a reason for hiding this comment

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

The role missing label is now showing up for me on the linked template, in addition to the four previous labels that were already showing up. The code matches what was requested of in the issue. Thank you @one2code for fixing this issue!

Copy link
Member

@roslynwythe roslynwythe left a comment

Choose a reason for hiding this comment

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

Hi @one2code. You've made the change as specified in the Action Items, followed the test procedure, and created a well-formed PR. Unfortunately I need to request a change, because this issue was created a while ago and in the opinion of the current team, the GHA issue template should have the label 'Feature: Board/GitHub Maintenance'. I have modified the Action Item and I need to ask you to make that change and push the updated branch to your fork to update the PR. You'll also have to create the new label in your repo. I apologize for the extra work and thank you very much for your effort and contributions.

@one2code
Copy link
Member Author

one2code commented Jul 6, 2023

@roslynwythe The requested update has been made and tested, and the Feature: Board/GitHub Maintenance label displays by default in the new GHA issue template.

Copy link
Member

@adrianang adrianang left a comment

Choose a reason for hiding this comment

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

Hi @one2code! It seems that the labels aren't showing up for me anymore when I open your template (screenshot below) -- have the labels been added back to the repo again?

Also, I noticed that your pushed code doesn't match the updated labels in #4475 that @roslynwythe had edited them to; I think the Feature Missing is still there.

My current view of one2code/website GHA issues template Screen Shot 2023-07-07 at 12 39 59 AM

@one2code
Copy link
Member Author

one2code commented Jul 7, 2023

@adrianang You'll have to click the link below for all of them to show up correctly, the old link will not work as intended.
Click this link to test the template
@roslynwythe I have made the requested changes.

@roslynwythe
Copy link
Member

Hi @one2code thank you for making the update. In the PR, please update the text under "What changes did you make?" and the link under Testing.

@one2code one2code requested a review from roslynwythe July 8, 2023 02:40
@one2code one2code requested a review from adrianang July 8, 2023 02:40
@adrianang
Copy link
Member

@one2code The labels are still not showing up for me on the new GHA template link that you had sent... but the code has been updated to match what was requested in the linked issue.

My view of the GHA template on one2code/website Screen Shot 2023-07-08 at 4 09 10 PM

@one2code
Copy link
Member Author

one2code commented Jul 9, 2023

@one2code The labels are still not showing up for me on the new GHA template link that you had sent... but the code has been updated to match what was requested in the linked issue.

My view of the GHA template on one2code/website
Screen Shot 2023-07-08 at 4 09 10 PM

I'm unable to replicate this issue. When I open the link in a new tab or refresh, all of the labels are loaded onto the template by default. I need to see the parameters in the url to verify if they are being applied to the issue template.

To be honest, this isn't really a deal breaker as long as the labels are available for selection in the drop down menu. If they were to be added by a bot, this would be managed by a separate GHA script with the following value in it
Labels to add: ['role missing', 'Complexity: Missing', 'Feature: Github Board/ Maintenance', 'size: missing','Draft' ]

@adrianang
Copy link
Member

@one2code Here's a screenshot of my view of the template including the URL at the top; this is right after clicking on the updated URL that you had sent on the 7th, which I notice does include the parameters for the label.

My view of the GHA issues template on one2code/website, after clicking your updated URL (URL in view) Screen Shot 2023-07-10 at 12 02 16 AM

However, I also tried testing this template change onto a branch on my fork of the website and am able to see the required labels pre-selected, so the code doesn't seem to be the issue (as previously established, since it matches what was in the linked issue).

My view of the GHA issues template on adrianang/website, in my one2code-gha-issue-template-4475 branch Screen Shot 2023-07-09 at 11 52 38 PM

I looked through some of the other similar PRs associated with this epic and noticed that their templates were working for me as well (tested using links in issues #4767, #4844, and #4879), so I'm not quite sure why this template is not pre-populating with the labels.

If this is good enough for Roslyn or the rest of merge team, then feel free to disregard my review/I'll approve my review, but from my understanding of the instructions for PR reviewers on the linked issue, as well as a comparison between template links in PRs for the other templates, the template should be showing the labels pre-selected already.

@one2code
Copy link
Member Author

@adrianang were you able to see it at first? I didn't really change any permissions on the repo. All labels were added without ' ' on the repo, and the values array is YAML compliant. Can you see the labels @roslynwythe ?

@adrianang
Copy link
Member

@one2code Yeah, the template was working as expected for me using the reviewer link you had provided until commit d9c7ed4; somewhere between my previous approval and previous change request, the labels stopped showing up.

I'll bring this up as one of my blockers during stand-up on Tuesday's/tomorrow's meeting, in case this might just be an issue on my end, and so hopefully it can get merged much sooner than later.

Copy link
Member

@adrianang adrianang left a comment

Choose a reason for hiding this comment

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

Per tonight's meeting (7/11), @blulady had suggested rolling back to commit 500d3d6 as that pushed commit was the last time that the labels had shown up on the linked template URL pre-selected, and/or merging this PR to see if the labels will show up pre-selected on the template, since the labels are showing up on the template on my end when I pushed this branch onto my fork of the repo (labels also in the URL).

Branching is still set up correctly and the code requested has been changed accordingly to requests while this PR was open; thanks @one2code!

Copy link
Member

@roslynwythe roslynwythe left a comment

Choose a reason for hiding this comment

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

Thank you @one2code for completing this issue in spite of the change in the specified labels. It appears that @adrianang and I no longer have rights to create issues in your repository and I don't understand that, but since both Adrian and I successfully tested your branch in our own repositories, I am approving the PR.

@roslynwythe roslynwythe merged commit 825a320 into hackforla:gh-pages Jul 12, 2023
ronaldpaek pushed a commit to ronaldpaek/website that referenced this pull request Jul 13, 2023
* Added labels

* Updated label formatting

* Updated syntax

* Added Feature: Board / Github Maitenance label

* Removed feature missing label
ronaldpaek pushed a commit to ronaldpaek/website that referenced this pull request Jul 13, 2023
* Added labels

* Updated label formatting

* Updated syntax

* Added Feature: Board / Github Maitenance label

* Removed feature missing label
@one2code one2code deleted the gha-issue-template-4475 branch July 15, 2023 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Complexity: Medium Feature: Board/GitHub Maintenance Project board maintenance that we have to do repeatedly role: back end/devOps Tasks for back-end developers role: front end Tasks for front end developers size: 1pt Can be done in 4-6 hours
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update labels: Issue Template: gha-issue-template
3 participants