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

Commit 44556c4

Browse files
committed
Remove Danger plugin labels
This was moved to the new peril-settings repo: https://github.com/withspectrum/peril-settings All the other stuff is PR specific so it stays, but that part can happen earlier so let's make it happen earlier!
1 parent 101d1db commit 44556c4

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

dangerfile.js

-12
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import { warn, fail, message, markdown, schedule, danger } from 'danger';
44
import yarn from 'danger-plugin-yarn';
55
import jest from 'danger-plugin-jest';
66
import flow from 'danger-plugin-flow';
7-
import labels from 'danger-plugin-labels';
87
import noTestShortcuts from 'danger-plugin-no-test-shortcuts';
98
import noConsole from 'danger-plugin-no-console';
109

@@ -26,17 +25,6 @@ if (danger.github.pr.body.length < 10) {
2625
fail('Please add a description to your PR.');
2726
}
2827

29-
// Add automatic labels to the PR
30-
schedule(
31-
labels({
32-
labels: {
33-
wip: 'WIP: Building',
34-
'needs testing': 'WIP: Needs Testing',
35-
'ready for review': 'WIP: Ready for Review',
36-
},
37-
})
38-
);
39-
4028
// Make sure the yarn.lock file is updated when dependencies get added and log any added dependencies
4129
APP_FOLDERS.forEach(folder => {
4230
schedule(yarn(path.join(__dirname, folder, 'package.json')));

0 commit comments

Comments
 (0)