[feature]: 신고 및 차단 정책이 정해짐에 따라 이를 로직에 적용시킵니다. #135
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: "완료" |