-
Notifications
You must be signed in to change notification settings - Fork 86
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
chore: update issue templates and codeowners #1993
Conversation
synthtool/gcp/templates/node_library/.github/ISSUE_TEMPLATE/bug_report.md
Outdated
Show resolved
Hide resolved
synthtool/gcp/templates/node_library/.github/ISSUE_TEMPLATE/bug_report.md
Outdated
Show resolved
Hide resolved
synthtool/gcp/templates/node_library/.github/ISSUE_TEMPLATE/bug_report.md
Outdated
Show resolved
Hide resolved
synthtool/gcp/templates/node_library/.github/ISSUE_TEMPLATE/bug_report.md
Outdated
Show resolved
Hide resolved
synthtool/gcp/templates/node_library/.github/ISSUE_TEMPLATE/documentation_request.yaml
Outdated
Show resolved
Hide resolved
synthtool/gcp/templates/node_library/.github/ISSUE_TEMPLATE/feature_request.md
Outdated
Show resolved
Hide resolved
on: | ||
schedule: | ||
- cron: '30 1 * * *' # Run every day at 01:30 | ||
workflow_dispatch: |
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, this yaml is a .yml and all of the others are .yamls - request for consistency :)
name: Question | ||
about: If you have a question, please use Discussions | ||
|
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.
I see that most of the others were changed from markdown -> yaml - should this one be also?
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.
Nope! It doesn't have any input fields.
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.
I could see that, but there might also be some value in just making them consistent for later edits.
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.
I'm going to keep it as is to discourage api-specific questions, see: https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/common-validation-errors-when-creating-issue-forms#body-must-contain-at-least-one-non-markdown-field
- "NodeDependency" |
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.
request for yaml not yml to be consistent
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.
I don't think I should change this one: https://github.com/googleapis/repo-automation-bots/blob/bc1194c1fe6f08803f64cb847809c8692a955854/packages/auto-approve/src/auto-approve.ts#L45
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.
Is it possible we could use .yml for the others above?
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.
+1 that's fine too
synthtool/gcp/templates/node_library/.github/ISSUE_TEMPLATE/documentation_request.yaml
Outdated
Show resolved
Hide resolved
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.
This is pretty cool, I learned about some GitHub features :)
Just a few advisory comments.
- "NodeDependency" |
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.
Is it possible we could use .yml for the others above?
name: Question | ||
about: If you have a question, please use Discussions | ||
|
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.
I could see that, but there might also be some value in just making them consistent for later edits.
state: "closed" | ||
}); | ||
} | ||
module.exports = async ({ github, context }) => { |
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.
Do we want to change this to {github, context} to match the JS standards elsewhere? I know this is just a tiny one off though...
not been answered for ${numberOfDaysLimit} days. It can be reopened when the \ | ||
requested information is provided.`; | ||
|
||
module.exports = async ({ github, context }) => { |
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.
Same comment and also I just noticed double quotes, if we do want to do it.
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.
left a +1 on one of megan's comments but nothing blocking on my end :)
- "NodeDependency" |
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.
+1 that's fine too
Hi @googleapis/jsteam-handwritten-libraries!
This PR changes a couple of templates, as requested:
Templates
Scripts
needs more info
label. If the OP does not respond within 15 days, this script will automatically close the issue (does not apply if you don't respond). If the OP does respond, remove-response-label will remove the label so the timer stops.Ask: Much of this was copied over from
google-cloud-node
with minimal changes since I'm not really sure how API-specific libraries want to handle a lot of this language. Please go through and change the language on the templates (especially) as necessary!Also, this does not need to hinge on me! Feel free to merge this PR while I'm gone and then merge it into your individual repos. I'll merge any remaining ones once I get back.
If the minority of repos don't want any of these changes at all, you can simply exclude it in your
owlbot.py
file (feel free to close the PR once it gets to your repo and add these files to be excluded). If the majority of repos don't want these changes, feel free to just close this PR.