-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
automation to help with bug reports #9351
Comments
That sounds like a non-trivial thing to do, but it would be awesome |
seems easy, assign me if you want, i can get it done. |
I am working on this and i got a question regarding the issue bug template. I want to github workflow to get an indication that the issue is relevant using label to avoid running on all issues:
|
Yes those issues get raised as "question" to start with. We'll label it as a bug after triage if it actually is one. Only |
I am almost done, but i found some issue regarding the requirement to put the test output in a comment. I could link to the GH actions that run the task instead. I might be able to output it to a file and link to it/upload it to the comment. |
I had not thought about that. I reckon if the output is too long, lets just post a link to the build as a starting point (as you've suggested). We can always tweak/improve this later. |
Devs run `npm run badge` often when getting a bug report for shields.io service. This PR automates this tests so the maintainer can get test results automaticly when getting into a new ticket. Add test-bug-run-badge.yml workflow for github actions automation. Will only run if bug has the 'qeustion' label added by bug reporting template. And will only setup enviorment and perform the test if the link provided in the issue is valid and the issue is related to shields.io. Link to job results is sent as a new comment on the issue. Resolves badges#9351
Devs run `npm run badge` often when getting a bug report for shields.io service. This PR automates this tests so the maintainer can get test results automaticly when getting into a new ticket. Add test-bug-run-badge.yml workflow for github actions automation. Will only run if bug has the 'qeustion' label added by bug reporting template. And will only setup enviorment and perform the test if the link provided in the issue is valid and the issue is related to shields.io. Link to job results is sent as a new comment on the issue. Resolves badges#9351
* devops: automate bug report tests Devs run `npm run badge` often when getting a bug report for shields.io service. This PR automates this tests so the maintainer can get test results automaticly when getting into a new ticket. Add test-bug-run-badge.yml workflow for github actions automation. Will only run if bug has the 'qeustion' label added by bug reporting template. And will only setup enviorment and perform the test if the link provided in the issue is valid and the issue is related to shields.io. Link to job results is sent as a new comment on the issue. Resolves #9351 * remove secrets to avoid secret leak * change stage name * remove unused id
📋 Description
Usually if someone files a bug report, the first thing I do is use
npm run badge
locally to get some additional information.It would be nice if we had a GitHub actions workflow that fires when a new issue is opened and does the following:
If the user filled in the "bug report" template AND filled in "shields.io" in the "Are you experiencing an issue with..." field AND filled in a URL in the "Link to the badge" field then...
$URL
npm run badge $URL
It might be that we need to tweak the issue template yaml a bit to make this easier?
The text was updated successfully, but these errors were encountered: