refactor-fe: Tanstack Query 데이터 캐싱 정책 변경 #1006
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: ALL/PM - Issue 자동 관리 | |
on: | |
issues: | |
types: [assigned, closed] | |
jobs: | |
create-issue-branch: | |
name: "feature 이슈 할당 -> 브랜치-PR 자동 생성" | |
runs-on: ubuntu-latest | |
if: github.event.action == 'assigned' | |
steps: | |
- name: create the issue branch | |
uses: robvanderleek/[email protected] | |
id: create-issue-branch | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
notify-open-issue: | |
name: "이슈 작업 시작 -> Slack 체널 알림" | |
runs-on: ubuntu-latest | |
if: github.event.action == 'assigned' | |
steps: | |
- name: Set assignee variables | |
id: set-vars | |
run: | | |
ASSIGNEE_LOGIN=${{ github.event.issue.assignee.login }} | |
echo "ASSIGNEE_SLACK_ID=${ASSIGNEE_LOGIN@L}" >> ${GITHUB_ENV} | |
- name: 작업 시작 -> Slack 체널 알림 | |
uses: slackapi/[email protected] | |
with: | |
channel-id: ${{ secrets.IN_PROGRESS_SLACK_CHANNEL_ID }} | |
payload: | | |
{ | |
"text": "🔔 작업 시작 알림 🔔", | |
"blocks": [ | |
{ | |
"type": "section", | |
"text": { | |
"type": "mrkdwn", | |
"text": "〰️〰〰️〰 \n🚀 작업 시작 \n <@${{ env.ASSIGNEE_SLACK_ID }}> 님이 \n <${{ github.event.issue.html_url }}|${{ github.event.issue.title }}> 작업을 시작했습니다!:muscle:" | |
} | |
} | |
] | |
} | |
env: | |
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} | |
notify-close-issue: | |
name: "이슈 작업 종료 -> Slack 체널 알림" | |
runs-on: ubuntu-latest | |
if: github.event.action == 'closed' | |
steps: | |
- name: Set assignee variables | |
id: set-vars | |
run: | | |
ASSIGNEE_LOGIN=${{ github.event.issue.assignee.login }} | |
echo "ASSIGNEE_SLACK_ID=${ASSIGNEE_LOGIN@L}" >> ${GITHUB_ENV} | |
- name: 작업 시작 -> Slack 체널 알림 | |
uses: slackapi/[email protected] | |
with: | |
channel-id: ${{ secrets.TASK_COMPLETE_SLACK_CHANNEL_ID }} | |
payload: | | |
{ | |
"text": "🎉 작업 완료 알림 🎉", | |
"blocks": [ | |
{ | |
"type": "section", | |
"text": { | |
"type": "mrkdwn", | |
"text": "〰️〰〰️〰 \n:pushpin:작업 완료\n <@${{ env.ASSIGNEE_SLACK_ID }}> 님의 할당 이슈인 \n\n:confetti_ball: <${{ github.event.issue.html_url }}|${{ github.event.issue.title }}> 작업이 완료(종료)됐습니다! :confetti_ball:" | |
} | |
} | |
] | |
} | |
env: | |
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} |