Skip to content

Commit

Permalink
Merge pull request #341 from ThinkAboutSoftware/thkwon-add-github-act…
Browse files Browse the repository at this point in the history
…ions-file-for-on-pr-opened

Feat: Add github actions yaml file for assgin-author, add-reviewer, a…
  • Loading branch information
TaeHyoungKwon authored Jan 6, 2024
2 parents 0148aac + b27ff5d commit 1456f55
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/assign-reviewers.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Academic Conference 2024 Members that are able to be assigned to reviewers
2024/* @TaeHyoungKwon @jongfeel @dhlee3994 @fkdl0048 @wooyaggo86 @jeeyn @hongsam14 @yeslee-v
10 changes: 10 additions & 0 deletions .github/configs/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# NOTE: 추후에 각각 책의 라벨이 추가될 때 마다 확인 후 추가 필요

version: 1
labels:
- label: "2024"
files:
- "2024/*"
- label: "The Psychology of Computer Programming"
files:
- "2024/ThePsychologyOfComputerProgramming/*"
39 changes: 39 additions & 0 deletions .github/workflows/on_pr_opened.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: "On Pull Request Opened"

on:
pull_request:
types: [opened]

permissions:
pull-requests: write

jobs:
assign-author:
runs-on: ubuntu-latest
steps:
- uses: toshimaru/auto-author-assign@v2.0.0

add-reviewer:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: ohnogumi/auto-reviewers@v0.0.5
with:
token: "${{ secrets.GITHUB_TOKEN }}"

add-label:
runs-on: ubuntu-latest
steps:
- uses: srvaroa/labeler@master
with:
config_path: .github/configs/labeler.yml
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

comment-for-filling-others-like-projects-milestone-development-etc:
runs-on: ubuntu-latest
steps:
- uses: JoseThen/comment-pr@v1.2.0
with:
comment: "우측에 있는 `Projects`, `Milestone`, `Development`를 확인 후 할당 해주세요~! :bow:"
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit 1456f55

Please sign in to comment.