티스토리 뷰

슬랙을 설치하고 깃허브와의 연결을 한 달 정도 미루다가 아래 Connect GitHub account 버튼을 누르려고 하니 에러가 발생했다.

Error: The time window to connect your GitHub account has expired. Please return to Slack to re-start the process of connecting your GitHub account.

GitHub 계정을 연결할 수 있는 시간이 만료되어 Slack에서 GitHub 계정 연결 프로세스를 다시 시작하라는 뜻이다.

 

 

 

1️⃣ 슬랙 대화창에 /github signin을 입력하면 다시 연결하는 버튼이 생성된다.

/github signin

 

 

2️⃣ 버튼을 누르고

 

 

3️⃣ 코드 6자리 입력하면 깃허브 아이디와 연결된다.

 

 

 

🔕 GitHub와 Slack을 연결했다고 해서 자동으로 알림까지 오지는 않는다.
4️⃣ 슬랙 채널에서 구독 명령어(/github subscribe)를 사용해 레포지토리를 등록해야 한다.

 

 

 

원하는 레포지토리의 전반적인 알람이 오길 희망한다면 아래 명령어를 참고하자 : )

/github subscribe <레포지토리 위치> issues pulls commits deployments releases reviews comments
  • issues: 이슈 생성, 닫힘, 댓글
  • pulls: PR 생성, 머지, 리뷰
  • commits: 푸시된 커밋
  • deployments: GitHub Actions나 배포 워크플로우
  • releases: 릴리즈 생성
  • reviews: Pull Request에 남겨지는 리뷰
  • comments: 이슈나 PR에 달리는 댓글

 

<레포지토리 위치>

깃허브 URL 기준으로

https://github.com/Company/service-api.git 이라면 Company/service-api를 입력하면 된다. 

ex. /github subscribe Company/service-api issues pulls commits deployments releases reviews comments

 

 

 

 

 

 

 

 

Total
Today
Yesterday