danger-plugin-labels icon indicating copy to clipboard operation
danger-plugin-labels copied to clipboard

Do a new release

Open halkeye opened this issue 6 years ago • 5 comments

Latest release is unusable because of replaceAllLabels (https://github.com/withspectrum/danger-plugin-labels/commit/913f0e574ee70a624d09c6f1294fb69b72f55580) fix

Unable to evaluate the Dangerfile
 TypeError: api.issues.replaceAllLabels is not a function
    at /home/halkeye/go/src/github.com/halkeye/test-danger-js/node_modules/danger-plugin-labels/dist/index.js:99:26
    at Generator.next (<anonymous>)
    at fulfilled (/home/halkeye/go/src/github.com/halkeye/test-danger-js/node_modules/danger-plugin-labels/dist/index.js:4:58)
    at process._tickCallback (internal/process/next_tick.js:68:7)

Can you push a new release?

halkeye avatar Jun 22 '19 19:06 halkeye

Same error unfortunately :(

Sly777 avatar Aug 26 '19 16:08 Sly777

Same error still, I believe there are no intentions to further maintain this library from the author

thlmenezes avatar Aug 10 '22 22:08 thlmenezes

If anyone wants to pick up this and make a PR here's some documentation around what is currently available:

Could solve this later.

thlmenezes avatar Aug 10 '22 22:08 thlmenezes

Appears the cause is a name change to issues API in v17 forward: replaceLabels -> replaceAllLabels -> setLabels https://github.com/octokit/rest.js/commit/b4ab0db04fd66eb02a10deabd2149ff82b43ac78

thlmenezes avatar Aug 12 '22 13:08 thlmenezes

@mxstbr is there an interest in maintaining this repo?

thlmenezes avatar Aug 12 '22 13:08 thlmenezes