Skip to content

open/close github issues on behalf of developper #96

Open
@romainfrancois

Description

@romainfrancois

Scenario:

I'm pushing some code to github that I think will fix a bug I'm tracking with github issues. I'd like the ability to embed the information that this push will maybe fix the bug. Something like:

git commit -m " #maybe_fixes #124"

We can imagine that e.g. using testthat, we can have the issue in the title of the test, e.g.

test_that( "this works #213", {
   ...
} )

Then, if the test passes and the issue is open, we close it.
And, if the test fails, but the issue is closed. we reopen it.

I'm pretty sure we can use github api for that (ping @cscheid). I guess this would need a user token.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions