[feature]: 탈퇴한 유저, 이용제한, 영구정지 당한 유저의 접근을 막는다. #67
This file contains 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: "완료" |