@@ -14,21 +14,21 @@ run-name: "🎫 Issue › Accept"
1414# ---------------------------------------------------------------------------------------
1515
1616on :
17- issue_comment :
18- types : [created]
17+ issue_comment :
18+ types : [created]
1919
2020# ---------------------------------------------------------------------------------------
2121# environment variables
2222# ---------------------------------------------------------------------------------------
2323
2424env :
25- LABEL_ACCEPT : " Status 𐄂 Accepted"
25+ LABEL_ACCEPT : " Status 𐄂 Accepted"
2626
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]
3232
3333# ---------------------------------------------------------------------------------------
3434# jobs
3737# ---------------------------------------------------------------------------------------
3838
3939jobs :
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 :
4444
45- # ---------------------------------------------------------------------------------------
46- # Add Label to accepted PR
47- # ---------------------------------------------------------------------------------------
45+ # ---------------------------------------------------------------------------------------
46+ # Add Label to accepted PR
47+ # ---------------------------------------------------------------------------------------
4848
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 }}
5657
57- # ---------------------------------------------------------------------------------------
58- # Add assignee to accepted PR
59- # ---------------------------------------------------------------------------------------
58+ # ---------------------------------------------------------------------------------------
59+ # Add assignee to accepted PR
60+ # ---------------------------------------------------------------------------------------
6061
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