Code Monkey home page Code Monkey logo

issue-moderator-action's People

Contributors

alessandrojean avatar arkon avatar github-actions[bot] avatar renovate[bot] avatar scb261 avatar stevenyomi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

issue-moderator-action's Issues

Timezone issues

I was updating my files today, January 10, 2024. However, I was shocked that the updates from yesterday were continued within the same date. Previously, whenever I update library entries on the next day, a new date appears on top of the updates.

Screenshot_20240110-073426

Screenshot_20240110-073415

Add option to flip regex condition

Right now, the auto-close feature will only close issues that match the regex. I think it'd be useful to be also able to auto-close if the regex isn't matched through a flag. This way the auto-close could be used to enforce templates being used.

My proposal would be a boolean option like closeifMatch which defaults to true which is the current behavior. By setting to false the regex must match to avoid closure.

 [
    {
      "type": "title",
      "regex": ".*Placeholder title.*",
      "message": "@${issue.user.login} this issue was automatically closed because it did not follow the issue template",
      "closeifMatch": true
    }
  ]

[Feature] Add edit title command

What should be added?

A command that allows the user to edit the current issue title by a specified new one.

Can be used by Edit title to <new-title> or /edit-title <new-title>.

False positives when checking already existing source

Sometimes issue body contains old URL in its body, and the issue is closed as a duplicate. Most often it's because source name contains old URL in its name, and sometimes user mentions old URL in other details.

Should take substring of the body after Source new URL and before Other details.

Examples of issues with this problem:

Note: consider that the check also applies to new source requests that don't have Source new URL section.

Generalize duplicate comment

Currently the extension repo uses duplicate check for both Domain changed and Source request, but the comment for duplicates always explains that the source was already requested. Possible ways to generalize the comment:

  • Remove explanation about already existing source and only keep Duplicate of #dddd.
  • Change explanation to explain both Source request and Domain changed cases.
  • Rewrite code to allow customizable comment for different labels. Need to also consider cases when original and duplicate issues have different labels.

I'll open a PR with the first solution. Opening the issue to consider/discuss other possible solutions.

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Awaiting Schedule

These updates are awaiting their schedule. Click on a checkbox to get an update now.

  • Update dependency vitest to v2.0.3

Detected dependencies

github-actions
.github/workflows/ci.yml
  • actions/checkout v4
  • actions/setup-node v4
.github/workflows/generate-js.yml
  • actions/checkout v4
  • actions/setup-node v4
  • peter-evans/create-pull-request v6
.github/workflows/test.yml
  • actions/checkout v4
npm
package.json
  • @actions/core 1.10.1
  • @actions/github 6.0.0
  • @octokit/webhooks-types 7.5.1
  • axios 1.7.2
  • @octokit/action 7.0.0
  • @tsconfig/node20 20.1.4
  • @types/dedent 0.7.2
  • esbuild 0.23.0
  • prettier 3.3.3
  • typescript 5.5.3
  • vitest 2.0.2
nvm
.nvmrc
  • node 20

  • Check this box to trigger a request for Renovate to run again on this repository

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.