@@ -14,21 +14,21 @@ run-name: "🎫 Issue › Accept"
14
14
# ---------------------------------------------------------------------------------------
15
15
16
16
on :
17
- issue_comment :
18
- types : [created]
17
+ issue_comment :
18
+ types : [created]
19
19
20
20
# ---------------------------------------------------------------------------------------
21
21
# environment variables
22
22
# ---------------------------------------------------------------------------------------
23
23
24
24
env :
25
- LABEL_ACCEPT : " Status 𐄂 Accepted"
25
+ LABEL_ACCEPT : " Status 𐄂 Accepted"
26
26
27
- ASSIGN_USER : Aetherinox
28
- BOT_NAME_1 : AdminServ
29
- BOT_NAME_2 : AdminServX
30
- BOT_NAME_3 : EuropaServ
31
- BOT_NAME_DEPENDABOT : dependabot[bot]
27
+ ASSIGN_USER : Aetherinox
28
+ BOT_NAME_1 : AdminServ
29
+ BOT_NAME_2 : AdminServX
30
+ BOT_NAME_3 : EuropaServ
31
+ BOT_NAME_DEPENDABOT : dependabot[bot]
32
32
33
33
# ---------------------------------------------------------------------------------------
34
34
# jobs
37
37
# ---------------------------------------------------------------------------------------
38
38
39
39
jobs :
40
- deploy :
41
- runs-on : ubuntu-latest
42
- if : github.event.issue.pull_request && contains(github.event.comment.body, '/accept') && github.event.comment.user.login == 'Aetherinox'
43
- steps :
40
+ deploy :
41
+ runs-on : ubuntu-latest
42
+ if : github.event.issue.pull_request && contains(github.event.comment.body, '/accept') && github.event.comment.user.login == 'Aetherinox'
43
+ steps :
44
44
45
- # ---------------------------------------------------------------------------------------
46
- # Add Label to accepted PR
47
- # ---------------------------------------------------------------------------------------
45
+ # ---------------------------------------------------------------------------------------
46
+ # Add Label to accepted PR
47
+ # ---------------------------------------------------------------------------------------
48
48
49
- - name : " 🏷️ Assign Label › ${{ env.LABEL_ACCEPT }}"
50
- run : gh issue edit "$NUMBER" --add-label "$LABELS"
51
- env :
52
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
53
- GH_REPO : ${{ github.repository }}
54
- NUMBER : ${{ github.event.issue.number }}
55
- LABELS : ${{ env.LABEL_ACCEPT }}
49
+ - name : >-
50
+ 🏷️ Assign Label › ${{ env.LABEL_ACCEPT }}
51
+ run: gh issue edit "$NUMBER" --add-label "$LABELS"
52
+ env:
53
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
54
+ GH_REPO: ${{ github.repository }}
55
+ NUMBER: ${{ github.event.issue.number }}
56
+ LABELS: ${{ env.LABEL_ACCEPT }}
56
57
57
- # ---------------------------------------------------------------------------------------
58
- # Add assignee to accepted PR
59
- # ---------------------------------------------------------------------------------------
58
+ # ---------------------------------------------------------------------------------------
59
+ # Add assignee to accepted PR
60
+ # ---------------------------------------------------------------------------------------
60
61
61
- - name : " 🏷️ Assign Assignee › ${{ env.ASSIGN_USER }}"
62
- run : gh issue edit "$NUMBER" --add-assignee "$ASSIGNEE"
63
- env :
64
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
65
- GH_REPO : ${{ github.repository }}
66
- NUMBER : ${{ github.event.issue.number }}
67
- ASSIGNEE : ${{ env.ASSIGN_USER }}
62
+ - name : >-
63
+ 🏷️ Assign Assignee › ${{ env.ASSIGN_USER }}
64
+ run: gh issue edit "$NUMBER" --add-assignee "$ASSIGNEE"
65
+ env:
66
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
67
+ GH_REPO: ${{ github.repository }}
68
+ NUMBER: ${{ github.event.issue.number }}
69
+ ASSIGNEE: ${{ env.ASSIGN_USER }}
0 commit comments