Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feat] PR assignee, reviewer 자동으로 채우기 #259

Merged
merged 2 commits into from
Jul 29, 2024

Conversation

eonseok-jeon
Copy link
Member

Related Issue : Closes #250


🧑‍🎤 Summary

  • pr 올리면 자동으로 reviewers와 assignees 채워지도록 github actions 구현

🧑‍🎤 Comment

Auto Assign Action을 이용해서 구현해줬어요

on:
  pull_request:
    types: [opened, ready_for_review, reopened]
  • opened -> pr open 시
  • ready_for_review -> draft에서 open으로 변경 시
  • reopened -> pr reopen 시

3가지 경우에 대해 자동으로 처리하도록 해줬어요




addReviewers: true

addAssignees: author

reviewers:
  - eonseok-jeon
  - lydiacho

numberOfReviewers: 0

addAssignees를 통해 pr 올린 사람으로 자동 assignee 설정 되도록 하였고
numberOfReviewers를 0으로 설정하여 reviewers에 있는 본인 제외 모든 사람이 reviewer로 등록되도록 구현했어요 :)

@eonseok-jeon eonseok-jeon requested a review from lydiacho July 29, 2024 09:26
@eonseok-jeon eonseok-jeon self-assigned this Jul 29, 2024
@eonseok-jeon eonseok-jeon linked an issue Jul 29, 2024 that may be closed by this pull request
Copy link

height bot commented Jul 29, 2024

Link Height tasks by mentioning a task ID in the pull request title or commit messages, or description and comments with the keyword link (e.g. "Link T-123").

💡Tip: You can also use "Close T-X" to automatically close a task when the pull request is merged.

@eonseok-jeon eonseok-jeon removed the request for review from lydiacho July 29, 2024 09:27
@eonseok-jeon eonseok-jeon removed their assignment Jul 29, 2024
Copy link

cloudflare-workers-and-pages bot commented Jul 29, 2024

Deploying sopt-recruiting-frontend with  Cloudflare Pages  Cloudflare Pages

Latest commit: 9d62e45
Status: ✅  Deploy successful!
Preview URL: https://09e87c84.sopt-recruiting-frontend.pages.dev
Branch Preview URL: https://feat--250-auto-assign.sopt-recruiting-frontend.pages.dev

View logs

@eonseok-jeon eonseok-jeon requested a review from lydiacho July 29, 2024 09:33
@eonseok-jeon eonseok-jeon self-assigned this Jul 29, 2024
Copy link
Member

@lydiacho lydiacho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

너무 좋습니다 감사합니다 ~ 🚀

@eonseok-jeon eonseok-jeon merged commit d39c7fe into develop Jul 29, 2024
1 check passed
@eonseok-jeon eonseok-jeon deleted the feat/#250_auto-assign branch July 29, 2024 09:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feat] PR assignee, reviewer 자동으로 채우기
2 participants