Giter Site home page Giter Site logo

vscode-github-triage-actions's Issues

Set `not planned` as the `state_reason` when automatically closing issues

The underlying octokit API (the latest version) has added a state_reason for specifying GitHub's new closing state. (It's not entirely clear to me if the correct value would be not planned or not-planned).

The new GitHub Issues - May 19th update | GitHub Changelog

Opening this issue to track updating VS Code's actions to specify the state_reason when automatically closing issues.

We cloned the VS Code actions as the basis for actions in the vscode-cpptools repo. Since using the latest octokit seems to require updating other dependencies, I figured I'd wait for you guys to address this first, then ingest your changes. :)

Post community PRs once they have 1 team review

For the monaco editor I get lots of PRs. It is annoying that I have to post those PRs manually to the review channel.

It would be much nicer if they get posted automatically once I added the first review (out of the two required reviews)

Improving the Description

Current:

  • There is an ambiguous point about the description written by vscode-triage-bot
  • It's not clear if vscode-triage-bot counts all the votes in the feature-suggestion comments or only the first post
  • Example microsoft/vscode#127087 (comment)

Update:

  • Writing a description that will not leave any ambiguity

Automatically comment on on issues with `verification-steps-needed`

During endgame when we verify issues, we use the verification-steps-needed label to indicate that steps are missing. However, users don't get notified when a label is changed so you are left unaware that steps are needed. It would be great if the bot could automatically comment on the issue to indicate this and ask the author to provide verification steps.

Don't delete PR messages if the PR has not been merged

We can attempt to parse the GitHub PR URL from the message and then query the GitHub API to check if the PR is merged or closed. This should prevent cases where the #codereview channel gives a false sense of security with a ✅ review

Support transferring issues via commands

Currently commands such as labeling or commenting on an issue can only provide a comment reply. Sometimes that comment reply says the issue should be transferred somewhere else. Instead, the bot should support transferring issues to repos it has access to.

Chinese (simplified) translation of english-please comment

Looks like your comment is also machine translated, so here it is:

感谢您创建此问题!

然而,由于您没有使用英语,我们很难进行处理。如果可能,请您将此问题描述修改为英文。请您直接编辑此问题,不要提交回复或新问题。

请注意,机器翻译服务通常无法处理用于讨论软件问题所需的技术性语言,所以我们推荐您寻找一位熟悉相关技术的人来协助翻译。

如果您无法做到,没有关系。此问题已经被标记为需要翻译,等待社区成员志愿进行翻译。

Node.js 16 actions are deprecated

Actions fail due to outdated node version. For example: https://github.com/dotnet/extensions/actions/runs/8293758762.

Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: ./actions/locker. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

According to the linked article node 16 has reached EOL last year and needs to be replaced with node 20.

I'm very far from web but I'm happy to send a PR with a change if it's a matter of find-replace like this:
image

Why there is no more automated duplicate issue detection?

Hi there, I noticed that there are two types of bots used in the vscode repo, i.e., vscodebot and vscode triage bot. It seems vscodebot is not active anymore. I just checked this repo and it seems there is no duplicate issue detection function (e.g., microsoft/vscode#131696 (comment)) implemented. I am just curious why it is the case. Thank you for your time if you are willing to talk about it a bit :)

Question about Authorization Management In issue comment

Hi~ I am currently following your work in VS Code's Issue Triage GitHub Actions @JacksonKearl
And I try to make a kubevela robot for our open source project oam/Kubevela https://github.com/oam-dev/kubevela
After I test and fine tune in my own repo( https://github.com/wangyuan249/actioTestRepo ), I found it is a great project !

While we are facing some problems about Authorization Management In issue comment trigger:
We hope that we can specify some users to have the access when comment in issue area, and trigger the label or assign process and to prevent everyone can trigger this process or to test and play in issue area.

And Now we see such fields like “memberOf” 、“allowUsers” in the command.json file

  {
    "type": "author", 
    "memberOf": { "org": "oam-dev" },
    "action": "updateLabel",
    "addLabel": "author/kubevela"
  },
  {
    "type": "author",
    "notMemberOf": { "org": "oam-dev" },
    "action": "updateLabel",
    "addLabel": "author/not-kubevela"
  },
  {
    "type": "comment",
    "name": "needsMoreInfo",
    "allowUsers": [
	    "wangyuan249",
	    "user1",
	    "user2",
	    "user3"
    ],
    "action": "updateLabels",
    "addLabel": "needs more info"
  },

In my opinion, it is not flexible to maintain the "allowUser" list frequently or to maintain the member list in an organization.
Is there a way for us to scan our projects to determine who is the contributor of our project(or who often speaks in issue and give them the access to comment and trigger label. (When trigger a github action, to scan like this.)

I would be very appreciated if you could give me a reply. thanks!

Addition of husky precommit hook causes all action runs to fail

The addition of the husky precommit hook in #96 causes all action runs to fail. Example: https://github.com/microsoft/vscode-docker/runs/7739520077?check_suite_focus=true

Run npm install --production --prefix ./actions
npm WARN config production Use `--omit=dev` instead.

> [email protected] prepare
> husky install

sh: 1: husky: not found
npm ERR! code 127
npm ERR! path /home/runner/work/vscode-docker/vscode-docker/actions
npm ERR! command failed
npm ERR! command sh -c husky install

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/runner/.npm/_logs/2022-08-09T05_11_[4](https://github.com/microsoft/vscode-docker/runs/7739520077?check_suite_focus=true#step:3:5)4_31[6](https://github.com/microsoft/vscode-docker/runs/7739520077?check_suite_focus=true#step:3:7)Z-debug-0.log
Error: Process completed with exit code 12[7](https://github.com/microsoft/vscode-docker/runs/7739520077?check_suite_focus=true#step:3:8).

Assign closed bugs, feature requests, and PRs to current milestone

I definitely mess this up a couple of times and have even had some bugs slip past verification as I forgot to assign them to the milestone. It would be nice if the bot could assign things like bugs, feature requests, and PRs to the milestone once they've been completed. We wouldn't want this for all labels such as duplicate, needs more info, or failed backlog-candidates.

Add *.js files to .gitignore

As the bot is written in TypeScript, it does not need to have compiled JavaScript files in the GitHub repository

Support random fallback when unable to assign

Currently we have a dedicated inbox tracker to deal with issues the bot can not automatically assign. It would be preferable to instead fall back to assigning to a random team member.

"old version" should support `main` or commit hash

Continuation of #72 & #61.

I just opened microsoft/vscode#162609 & triggered "you may be using an old version", based on this line:

  • VS Code Version: main (currently at 2a07191)

I'm not suggesting that the exact syntax I used should be supported, but it would be nice to try to support main and/or a GitHub commit hash in some way or another. And by "support", I mean: don't suggest upgrading to the latest version.

Add duplicate PR detection

It is possible that if you toggle from draft, ready for review, back to draft that the message is posted twice. It is also possible someone manually posts a message prior to the the bot getting to it. We should detect duplicates and not post.

A large part of these issues stem from PRs being converted to draft very close to creation time but the GitHub payload still comes back as draft

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.