[GitAction] Fix Auto Labeler
authorDongHak Park <donghak.park@samsung.com>
Fri, 24 Feb 2023 01:00:50 +0000 (10:00 +0900)
committerJijoong Moon <jijoong.moon@samsung.com>
Tue, 28 Feb 2023 01:38:53 +0000 (10:38 +0900)
commit448a1af0a43cb6cdc04c6a624eca809ee43a1b97
tree05d142e094d02a3003d53cced83dfcb36e34405c
parent27353372f3743ceaa657814d4e973391797541ab
[GitAction] Fix Auto Labeler

Problem : There was Permission Error on Auto Labeler on Forked Repo's PR
- Github only give read permission to Forked Repo's PR
- so Gitaction can make any change in PR

to solved this problem USE workflow_run
1. on pull_request or pull_request_review trigger it save it's pr_num and approved num in github artifact
2. in ```labeler.yml``` it download pr_num and review_num
3. in step they check review approved num
4. in if statement they automatically make labels

Signed-off-by: DongHak Park <donghak.park@samsung.com>
.github/workflows/Upload.yml [new file with mode: 0644]
.github/workflows/labeler.yml