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 pull request template to integrate with prow release-note plugin #585
add pull request template to integrate with prow release-note plugin #585
Conversation
FYI openshift/release#15770 was merged sooner than I had intended (the test platform guys merged it when I was only trying to get them to add the approved label) Short term, I've added the |
.github/pull_request_template.md
Outdated
|
||
# Submitter Checklist | ||
|
||
See [the contribution guide](https://github.com/shipwright-io/build/blob/master/CONTRIBUTING.md) |
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.
nit: /s/contribution/contributor/
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.
Shouldn't this also be in an HTML comment?
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.
switched to contributor in next push
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.
it was not a HTML comment in the the version in upstream Tekton I borrowed from @adambkaplan
See https://raw.githubusercontent.com/tektoncd/triggers/master/.github/pull_request_template.md
for example
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.
but if the majority is to break from with that pattern and make this an HTML comment I'll defer and update accordingly
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.
Given the title is "Submitter checklist", I would expect there to be an actual checklist that contributors could mark off, such as:
- [ ] Includes tests if functionality changed/was added
- [ ] Includes docs if changes are user-facing
- [ ] Release notes block has been filled in, or marked NONE
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.
check list added @adambkaplan thanks
473fcf5
to
4c37945
Compare
pushed everything besides the HTML comment note @adambkaplan (while that is still a pending discussion) |
Validations of the plugin via #590 look good
|
Also tried to explore some github action variants. The closest thing I could find was https://github.com/marketplace/actions/pull-request-updater-github-action Maybe it could accomplish what we need (though I could not say for sure). The pre-action thing here seem much more simpler / direct. |
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.
looks good, just a minor typo from my side that needs to be fixed.
4c37945
to
1f7534c
Compare
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.
/lgtm
there is a lot of tl;dr discussion in https://kubernetes.slack.com/archives/C019ZRGUEJC/p1613143894064100 |
1f7534c
to
df95377
Compare
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: gabemontero 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 |
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.
/lgtm
can we re-run the travis job if it flakes with an unrelated error? |
found https://stackoverflow.com/questions/17606874/trigger-a-travis-ci-rebuild-without-pushing-a-commit ... seeing if any of those is available |
Yeah none of the options there are available. I'm going to refrain from hitting the merge button until can ask the community on Monday, of if someone responds here beforehand. |
@gabemontero I think repo owners can restart the build in Travis. I just did. |
thanks @adambkaplan |
docker throttling with latest travis run
|
To mimic upstream tekton on how they curate release notes on a per PR basis using the prow release-note plugin
Related PR: openshift/release#15770
/assign @adambkaplan
/assign @qu1queee
@sbose78 FYI
ultimately what happens is a
release-note
orrelease-note-none
label is required for PR merge, and which label is applied is triggered by what is placed in therelease-note
description of the PR.