[feature]: 쪽지를 차단하는 API를 개발합니다. (차단은 정책 논의가 더 필요 Pending) #91
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: "완료" |