Skip to content

Commit

Permalink
Merge pull request #225 from mash-up-kr/feature/auto_assignees
Browse files Browse the repository at this point in the history
[feature] auto_assignees 추가
  • Loading branch information
Ahn-seokjoo authored Sep 21, 2024
2 parents 5ecc63b + e7d5acc commit 796d44e
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/auto-assignee.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Auto Assignees

on:
pull_request:
types:
- opened

jobs:
add-auto-assignees:
runs-on: ubuntu-latest

steps:
- name: add assignees
run: |
curl -L \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/mash-up-kr/Dorabangs_Android/issues/${{ github.event.number }}/assignees \
-d '{"assignees": ["${{ github.actor }}"]}'

0 comments on commit 796d44e

Please sign in to comment.