File tree Expand file tree Collapse file tree 4 files changed +43
-40
lines changed Expand file tree Collapse file tree 4 files changed +43
-40
lines changed Original file line number Diff line number Diff line change
1
+ name : Create Jira Ticket on Issue Creation
2
+
3
+ on :
4
+ issues :
5
+ types : [opened]
6
+
7
+ jobs :
8
+ create-jira-ticket :
9
+ runs-on : ubuntu-latest
10
+
11
+ steps :
12
+ - name : Checkout repository
13
+ uses : actions/checkout@v2
14
+
15
+ - name : Create Jira Ticket
16
+ env :
17
+ JIRA_BASE_URL : ${{ vars.JIRA_BASE_URL }}
18
+ JIRA_EMAIL : ${{ vars.JIRA_EMAIL }}
19
+ JIRA_API_TOKEN : ${{ vars.JIRA_API_TOKEN }}
20
+ JIRA_PROJECT_KEY : ${{ vars.JIRA_PROJECT_KEY }}
21
+ ISSUE_TITLE : ${{ github.event.issue.title }}
22
+ ISSUE_BODY : ${{ github.event.issue.body }}
23
+ ISSUE_URL : ${{ github.event.issue.html_url }}
24
+ run : |
25
+ curl -X POST -u "$JIRA_EMAIL:$JIRA_API_TOKEN" \
26
+ -H "Content-Type: application/json" \
27
+ -d '{
28
+ "fields": {
29
+ "project": {
30
+ "key": "'"$JIRA_PROJECT_KEY"'"
31
+ },
32
+ "summary": "'"$ISSUE_TITLE"'",
33
+ "description": "'"$ISSUE_BODY"'",
34
+ "issuetype": {
35
+ "name": "Task"
36
+ }
37
+ }
38
+ }' \
39
+ "$JIRA_BASE_URL/rest/api/2/issue/"
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 19
19
opacity : 0.15 ;
20
20
pointer-events : none ;
21
21
}
22
-
23
- & ::after {
24
- background-color : currentcolor ;
25
- content : ' ' ;
26
- display : inline-block ;
27
- height : 1rem ;
28
- margin-left : 0.5rem ;
29
- margin-right : unset ;
30
- mask-image : url (../../../images/icons/icon-circle-right.svg );
31
- mask-size : contain ;
32
- left : unset ;
33
- position : absolute ;
34
- right : 0.75rem ;
35
- vertical-align : middle ;
36
- width : 1rem ;
37
- z-index : 0 ;
38
- }
39
22
}
40
23
41
24
& .is-style-minimal ,
68
51
& .has-size-m {
69
52
.wp-block-button__link {
70
53
font-size : var (--wp--preset--font-size--s );
71
- padding : 0.625rem 2.5rem 0.625rem 1.25rem ;
72
-
73
- & ::after {
74
- height : 1.25rem ;
75
- width : 1.25rem ;
76
- }
54
+ padding : 0.625rem 1.25rem 0.625rem 1.25rem ;
77
55
}
78
56
}
79
57
80
58
& .has-size-l {
81
59
.wp-block-button__link {
82
60
font-size : var (--wp--preset--font-size--m );
83
- padding : 0.9375rem 3rem 0.9375rem 1.25rem ;
84
-
85
- & ::after {
86
- height : 1.5rem ;
87
- width : 1.5rem ;
88
- }
61
+ padding : 0.9375rem 1.25rem 0.9375rem 1.25rem ;
89
62
}
90
63
}
91
64
92
65
& .has-size-xl {
93
66
.wp-block-button__link {
94
67
font-size : var (--wp--preset--font-size--l );
95
- padding : 0.9375rem 3rem 0.9375rem 1.25rem ;
96
-
97
- & ::after {
98
- height : 1.75rem ;
99
- width : 1.75rem ;
100
- }
68
+ padding : 0.9375rem 1.25rem 0.9375rem 1.25rem ;
101
69
}
102
70
}
103
71
}
Original file line number Diff line number Diff line change 434
434
"spacing" : {
435
435
"padding" : {
436
436
"top" : " 0.5rem" ,
437
- "right" : " 2.5rem " ,
437
+ "right" : " 1rem " ,
438
438
"bottom" : " 0.5rem" ,
439
439
"left" : " 1rem"
440
440
}
You can’t perform that action at this time.
0 commit comments