-
Notifications
You must be signed in to change notification settings - Fork 1
64 lines (56 loc) · 2.07 KB
/
close-jira-issue.yml
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
name: Jira 이슈 닫기
on:
issues:
types:
- closed
jobs:
close-jira-issue:
permissions: write-all
name: Jira 이슈 닫기
runs-on: ubuntu-latest
steps:
- name: 원채 Jira 로그인
uses: atlassian/gajira-login@v3
if: github.actor == 'ywonchae1'
env:
JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}
JIRA_API_TOKEN: ${{ secrets.JIRA_WONCHAE_API_TOKEN }}
JIRA_USER_EMAIL: ${{ secrets.JIRA_WONCHAE_USER_EMAIL }}
- name: 유진 Jira 로그인
uses: atlassian/gajira-login@v3
if: github.actor == 'sseoU'
env:
JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}
JIRA_API_TOKEN: ${{ secrets.JIRA_YOUJIN_API_TOKEN }}
JIRA_USER_EMAIL: ${{ secrets.JIRA_YOUJIN_USER_EMAIL }}
- name: 민석 Jira 로그인
uses: atlassian/gajira-login@v3
if: github.actor == 'seok019283501'
env:
JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}
JIRA_API_TOKEN: ${{ secrets.JIRA_MINSEOK_API_TOKEN }}
JIRA_USER_EMAIL: ${{ secrets.JIRA_MINSEOK_USER_EMAIL }}
- name: 경재 Jira 로그인
uses: atlassian/gajira-login@v3
if: github.actor == 'bestKUFO'
env:
JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}
JIRA_API_TOKEN: ${{ secrets.JIRA_KYONGJAE_API_TOKEN }}
JIRA_USER_EMAIL: ${{ secrets.JIRA_KYONGJAE_USER_EMAIL }}
- name: 지인 Jira 로그인
uses: atlassian/gajira-login@v3
if: github.actor == 'OziinG'
env:
JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}
JIRA_API_TOKEN: ${{ secrets.JIRA_JIIN_API_TOKEN }}
JIRA_USER_EMAIL: ${{ secrets.JIRA_JIIN_USER_EMAIL }}
- name: Jira 이슈 키 찾기
id: issue-key
uses: atlassian/gajira-find-issue-key@master
with:
string: ${{ github.event.issue.title }}
- name: Jira 이슈 완료로 이동
uses: atlassian/gajira-transition@v3
with:
issue: ${{ steps.issue-key.outputs.issue }}
transitionId: 31