[feature]: 유저는 추가 투표 알림을 눌러 우리 반 투표에 참여할 수 있다 #34
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Close Jira issue | |
on: | |
issues: | |
types: | |
- closed | |
jobs: | |
test-transition-issue: | |
name: Transition Issue | |
runs-on: ubuntu-latest | |
steps: | |
- name: Login | |
uses: atlassian/gajira-login@master | |
env: | |
JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }} | |
JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }} | |
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }} | |
- name: Find in Jira ticket | |
uses: atlassian/gajira-find-issue-key@master | |
id: jira-ticket | |
with: | |
from: commits | |
- name: Transition issue | |
if: steps.jira-ticket.outputs.issue != '' | |
uses: atlassian/gajira-transition@master | |
with: | |
issue: ${{ steps.jira-ticket.outputs.issue }} | |
transition: "완료" |