-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dangerfile.ts
41 lines (39 loc) · 1.26 KB
/
Dangerfile.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
import customRules from "./src/index";
import { Configuration } from "./src/types";
const config: Configuration = {
projectToScope: {
2449547: "Bonus Vacanze",
2463683: "My Portal",
2477137: "Bonus Pagamenti Digitali",
IAC: "Bonus Pagamenti Digitali",
IOACGN: "Carta Giovani Nazionale",
IASV: "Sicilia Vola",
IAGP: "EU Covid Certificate",
IARS: "Redesign Servizi",
ASZ: "Zendesk",
IAMVL: "Piattaforma Notifiche",
IAFIMS: "Federated Identity Management System",
AP: "Carta della cultura",
SFEQS: "Firma con IO",
},
tagToScope: {
android: "Android",
ios: "iOS",
bonus_vacanze: "Bonus Vacanze",
messages: "Messages",
payments: "Payments",
services: "Services",
profile: "Profile",
privacy: "Privacy",
security: "Security",
accessibility: "Accessibility",
bpd: "Bonus Pagamenti Digitali",
cgn: "Carta Giovani Nazionale",
fims: "Federated Identity Management System",
myportal: "My Portal",
},
minLenPrDescription: 10,
updateLabel: true, //to add a label to the PR containing the name of the project linked to the ticket on Jira
updateTitle: false, //to change the title of the PR according to whether the ticket on Jira is a feat / fix / chore / epic
};
customRules(config);