Skip to content

๐Ÿ”€ :: (#1076) ๊ฐ€์‚ฌ๊พธ๋ฏธ๊ธฐ:: ๋„คํŠธ์›Œํฌ ์‹คํŒจ ์˜ค๋ฅ˜๊ฐ€ ๋…ธ์ถœ๋˜๋Š” ํ˜„์ƒ #293

๐Ÿ”€ :: (#1076) ๊ฐ€์‚ฌ๊พธ๋ฏธ๊ธฐ:: ๋„คํŠธ์›Œํฌ ์‹คํŒจ ์˜ค๋ฅ˜๊ฐ€ ๋…ธ์ถœ๋˜๋Š” ํ˜„์ƒ

๐Ÿ”€ :: (#1076) ๊ฐ€์‚ฌ๊พธ๋ฏธ๊ธฐ:: ๋„คํŠธ์›Œํฌ ์‹คํŒจ ์˜ค๋ฅ˜๊ฐ€ ๋…ธ์ถœ๋˜๋Š” ํ˜„์ƒ #293

Workflow file for this run

name: Auto assign PR author
on:
pull_request:
types:
- opened
- reopened
jobs:
assign-pr-author:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Get PR author
id: get-pr-author
run: echo "author=${{ github.event.pull_request.user.login }}" >> $GITHUB_OUTPUT
- name: Assign PR author
run: gh pr edit ${{ github.event.number }} --add-assignee ${{ steps.get-pr-author.outputs.author }}
env:
GH_TOKEN: ${{ github.token }}
- name: Comment success result to PR
uses: mshick/add-pr-comment@v2
if: ${{ success() }}
with:
message: |
## โœ… Assign ์ž๋™ ์ง€์ •์„ ์„ฑ๊ณตํ–ˆ์–ด์š”!
@${{ steps.get-pr-author.outputs.author }}
allow-repeats: true
- name: Comment failure result to PR
uses: mshick/add-pr-comment@v2
if: ${{ failure() }}
with:
message: "## โŒ PR์˜ Assign ์ž๋™ ์ง€์ •์„ ์‹คํŒจํ–ˆ์–ด์š”."
allow-repeats: true