Skip to content

Commit

Permalink
➖ 🔥 (danger): remove danger-plugin-labels
Browse files Browse the repository at this point in the history
bug on unmaintened code
deprecated API api.issues.replaceAllLabels
    withspectrum/danger-plugin-labels#74
  • Loading branch information
thlmenezes committed Aug 10, 2022
1 parent bebef92 commit d91f0c6
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 281 deletions.
10 changes: 0 additions & 10 deletions dangerfile.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { danger, message, schedule, warn } from 'danger';
import labels from 'danger-plugin-labels';
import * as reporter from 'danger-plugin-lint-report';
import todos from 'danger-plugin-todos';
import yarn from 'danger-plugin-yarn';
Expand Down Expand Up @@ -56,14 +55,5 @@ if (danger.github?.pr) {
})
);

schedule(
labels({
rules: [
{ match: /WIP/i, label: 'Work In Progress' },
{ match: /Ready for Review/i, label: 'Ready for Review' },
],
})
);

schedule(todos());
}
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
"commitizen-emoji": "1.0.5",
"commitlint": "17.0.3",
"danger": "11.1.1",
"danger-plugin-labels": "2.1.1",
"danger-plugin-lint-report": "1.7.0",
"danger-plugin-todos": "1.3.1",
"danger-plugin-yarn": "1.5.1",
Expand Down
Loading

0 comments on commit d91f0c6

Please sign in to comment.