Skip to content
This repository has been archived by the owner on Oct 11, 2022. It is now read-only.

Do a new release #74

Open
halkeye opened this issue Jun 22, 2019 · 5 comments
Open

Do a new release #74

halkeye opened this issue Jun 22, 2019 · 5 comments

Comments

@halkeye
Copy link

halkeye commented Jun 22, 2019

Latest release is unusable because of replaceAllLabels (913f0e5) 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?

@Sly777
Copy link

Sly777 commented Aug 26, 2019

Same error unfortunately :(

@thlmenezes
Copy link

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

@thlmenezes
Copy link

thlmenezes commented Aug 10, 2022

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 added a commit to Quenom117/teste-da-TMT that referenced this issue Aug 10, 2022
bug on unmaintened code
deprecated API api.issues.replaceAllLabels
withspectrum/danger-plugin-labels#74
thlmenezes added a commit to TMTecnologia/turborepo-tmtecnologia that referenced this issue Aug 10, 2022
bug on unmaintened code
deprecated API api.issues.replaceAllLabels
    withspectrum/danger-plugin-labels#74
@thlmenezes
Copy link

thlmenezes commented Aug 12, 2022

Appears the cause is a name change to issues API in v17 forward: replaceLabels -> replaceAllLabels -> setLabels
octokit/rest.js@b4ab0db

@thlmenezes
Copy link

@mxstbr is there an interest in maintaining this repo?

thlmenezes added a commit to TMTecnologia/turborepo-tmtecnologia that referenced this issue Aug 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants