-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
fix PR template #5308
fix PR template #5308
Conversation
Delete extra space between three ticks ``` and release-note tag. This is causing all new PRs with a label do-not-merge/release-note-label-needed. The PR author has to go and fix it in the PR description. This fix is not easy to spot for the new contributors.
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.
Thank you!
/lgtm
/test pull-tekton-pipeline-build-tests |
/hold This all stems from @vdemeester's change in #4929, and #5105 is also trying to make a similar change to this PR. I think some discussion is needed - I'd like to hold off on merging this or #5105 until we've had a discussion in the Pipeline WG. |
It's becoming very difficult to review pipeline PRs, most of the new PRs created with various red labels. I am with you and @vdemeester on mandating PR authors to update It's not just confusing to the new contributors - #5260 (comment) 🙃 We have pipeline WG in two weeks on 08/23, I have added this to the agenda for further discussion. An alternate could be to not include release note section at all but include instructions on how to add it and if not added, specify consequences. All this does not have to be part of PR template but somewhere if it can be documented and add a reference in the PR template. |
Thanks @pritidesai - yeah my motivation was the same. I find the extra space confusing. Open to any ideas to improve this - removing the space just seemed easiest 😆
This could work - one issue I see is that our release note has to be a block that contains the backticks and then the release-note string [```release-note] - I've found it hard to convey this info via docs and have seen folks just use the notes within the three back ticks without the release-note string leading to more confusing release note failures. |
I would vote for that approach then. I would keep the "red" labels (for a good reason), but at least we won't merge PRs that should have release-note with empty release notes.. which them make the release work harder… Kubernetes uses an empty release note (so not red label) but not commented as well, see https://raw.githubusercontent.com/kubernetes/kubernetes/master/.github/PULL_REQUEST_TEMPLATE.md. The only benefit I can see is that at least we see the empty code block so it should "warn" us that the release-note is missing. Something change between #4929 and now (https://raw.githubusercontent.com/tektoncd/pipeline/main/.github/pull_request_template.md). It was commented before, now it is no more commented, which I agree makes it very confusing. In all honesty I am fine going both ways:
Another way could be to update our script gather release-note to look for a code block below a given title (release note), which would make it not require the In the end it's a battle (and a balance) between authoring, reviewing and releasing 😝. But I can be convinced otherwise as well. |
I don't feel too strongly about either approach. I'm fine with the no release-note code block |
/lgtm Discussions around whether to keep the release-note section aside, can we submit this? I was about to make the same PR because we ran into this in #5643. Having the non-obvious space in the current template is causing friction for contributors - it looks like a bug with the release notes check, especially since there's no perceivable difference in the rendered GitHub PR markdown. |
+1, this has proven to be confusing and hostile to new contributors, and is repeatedly a stumbling block even for repeat contributors, myself included. |
/hold cancel |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: vdemeester The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/test pull-tekton-pipeline-alpha-integration-tests |
Changes
Delete extra space between three backticks ``` and
release-note
tag. This is causing all new PRs with a bright red label do-not-merge/release-note-label-needed. The PR author has to go and fix it in the PR description. This fix is not easy to spot for any new contributor.Submitter Checklist
As the author of this PR, please check off the items in this checklist:
functionality, content, code)
/kind <type>
. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tepRelease Notes
/kind misc