Code Monkey home page Code Monkey logo

issue-moderator-action's People

Contributors

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

Stargazers

 avatar

Watchers

 avatar

Forkers

swimmingseas

issue-moderator-action's Issues

Auto close issues which bump another issue

Similar to the duplicate-url-check, it should be possible to look for the pattern:

  • Issue opened
  • A recent issue was closed
    • Issue is by the same author
    • The author closed the issue
    • Issue is a duplicate, based on same URL

If these conditions are met:

  • Close issue
  • Reopen old issue

Most relevant change would probably be this line. It should have some additional conditions (pseudo code):

const recentDate = new Date(currentDate.getTime() - (4 * 60 * 60 * 1000)); // 4 hours
const recentDateISO = recentDate.toISOString();

const qualifiers = `type:issue repo:${repo.owner}/${repo.repo} state:closed author:${issue.user.login} closed:>${recentDateISO} label:"${labelsToCheck.join('","')}"`;

Did not find a way to search for 'closed by', but it seems like issue.closed_by.login should be comparable once you actually fetch the details of the issue. Not sure if this condition is ultimately required.

Test case:
keiyoushi/extensions-source#485
keiyoushi/extensions-source#707

keiyoushi/extensions-source#3315
keiyoushi/extensions-source#3461

Dependency Dashboard

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

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/ci.yml
  • actions/checkout v4.1.1@b4ffde65f46336ab88eb53be808477a3936bae11
  • pnpm/action-setup v3.0.0@a3252b78c470c02df07e9d59298aecedc3ccdd6d
  • actions/setup-node v4.0.2@60edb5dd545a775178f52524783378180af0d1f8
.github/workflows/generate-js.yml
  • actions/checkout v4.1.1@b4ffde65f46336ab88eb53be808477a3936bae11
  • pnpm/action-setup v3.0.0@a3252b78c470c02df07e9d59298aecedc3ccdd6d
  • actions/setup-node v4.0.2@60edb5dd545a775178f52524783378180af0d1f8
  • peter-evans/create-pull-request v6.0.1@a4f52f8033a6168103c2538976c07b467e8163bc
.github/workflows/test.yml
  • actions/checkout v4.1.1@b4ffde65f46336ab88eb53be808477a3936bae11
npm
package.json
  • @actions/core 1.10.1
  • @actions/github 6.0.0
  • @octokit/webhooks-types 7.3.2
  • axios 1.6.7
  • @octokit/action 6.0.7
  • @tsconfig/node20 20.1.2
  • @types/dedent 0.7.2
  • @types/node 20.11.24
  • esbuild 0.20.1
  • prettier 3.2.5
  • typescript 5.3.3
  • vitest 1.3.1
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.