Giter VIP home page Giter VIP logo

Comments (7)

JasonEtco avatar JasonEtco commented on July 19, 2024 1

I've just done some suuuuper basic testing and the below code successfully locks an issue:

module.exports = robot => {
  robot.on('issues.opened', async context => {
    return context.github.issues.lock(context.issue())
  })
}

So it appears that the blocker here has been fixed. I've spoken with some other folks that would alsp love to get this feature into Stale so lets get this going 🎉

from stale.

thaJeztah avatar thaJeztah commented on July 19, 2024 1

Nice! Thanks for the update!

from stale.

thaJeztah avatar thaJeztah commented on July 19, 2024 1

I likely won't come around to opening one, so feel free to go ahead 👍

from stale.

bkeepers avatar bkeepers commented on July 19, 2024

Hey @thaJeztah, that's a great suggestion. @lee-dohm was building lock functionality as a separate plugin, but discovered that GitHub Integrations don't support lock yet.

After seeing your proposal, I think it makes sense to add it to this plugin once the API is supported.

from stale.

thaJeztah avatar thaJeztah commented on July 19, 2024

Yes, I was doubting if it would have to be a separate plugin, but it all relates to "stale" issues / PR's, so it's kinda related 😄

Oh, pity that locking is not supported yet, but good to see it's on the radar 👍

from stale.

JasonEtco avatar JasonEtco commented on July 19, 2024

@thaJeztah you're welcome to make a PR (in fact, we'd all appreciate it) but if you don't have time we should be able to get to it soon.

from stale.

stale avatar stale commented on July 19, 2024

Is this still relevant? If so, please comment with any updates or addition details.

from stale.

Related Issues (20)

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.