Skip to content

Commit be5d424

Browse files
authored
feat: workflow (#244)
1 parent 489ddd2 commit be5d424

File tree

4 files changed

+79
-12
lines changed

4 files changed

+79
-12
lines changed

.github/auto-comment.yml

Lines changed: 21 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,21 @@
1-
# Comment to a new issue.
2-
issueOpened: >
3-
Thank your for raising a issue. We will try and get back to you as soon as possible.
4-
5-
Please make sure you have given us as much context as possible.
6-
7-
8-
pullRequestOpened: >
9-
Thank your for raising your pull request.
10-
11-
Please make sure you have followed our contributing guidelines. We will review it as soon as possible
12-
1+
# Number of days of inactivity before an Issue or Pull Request becomes stale
2+
daysUntilStale: 90
3+
# Number of days of inactivity before a stale Issue or Pull Request is closed
4+
daysUntilClose: 30
5+
# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable
6+
exemptLabels:
7+
- pinned
8+
- security
9+
# Label to use when marking as stale
10+
staleLabel: stale
11+
# Comment to post when marking as stale. Set to `false` to disable
12+
markComment: >
13+
This issue has been automatically marked as stale because it has not had
14+
recent activity. It will be closed if no further activity occurs. Thank you
15+
for your contributions.
16+
# Comment to post when removing the stale label. Set to `false` to disable
17+
unmarkComment: false
18+
# Comment to post when closing a stale Issue or Pull Request. Set to `false` to disable
19+
closeComment: true
20+
# Limit to only `issues` or `pulls`
21+
only: issues

.github/auto_assign.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Set to true to add reviewers to pull requests
2+
addReviewers: true
3+
4+
# Set to true to add assignees to pull requests
5+
addAssignees: author
6+
7+
# A list of reviewers to be added to pull requests (GitHub user name)
8+
reviewers:
9+
- Jonghakseo
10+
11+
# A number of reviewers added to the pull request
12+
# Set 0 to add all the reviewers (default: 0)
13+
numberOfReviewers: 0
14+
15+
# A list of assignees, overrides reviewers if set
16+
# assignees:
17+
# - assigneeA
18+
19+
# A number of assignees to add to the pull request
20+
# Set to 0 to add all of the assignees.
21+
# Uses numberOfReviewers if unset.
22+
# numberOfAssignees: 2
23+
24+
# A list of keywords to be skipped the process that add reviewers if pull requests include it
25+
# skipKeywords:
26+
# - wip
27+
28+
filterLabels:
29+
exclude:
30+
- dependencies

.github/workflows/auto-assign.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: 'Auto Assign'
2+
on:
3+
pull_request:
4+
types: [opened, ready_for_review]
5+
6+
jobs:
7+
add-reviews:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: kentaro-m/auto-assign-action@v1.2.5
11+
with:
12+
configuration-path: '.github/auto_assign.yml'

.github/workflows/greetings.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Greetings
2+
3+
on: [pull_request_target, issues]
4+
5+
jobs:
6+
greeting:
7+
runs-on: ubuntu-latest
8+
permissions:
9+
issues: write
10+
pull-requests: write
11+
steps:
12+
- uses: actions/first-interaction@v1
13+
with:
14+
repo-token: ${{ secrets.GITHUB_TOKEN }}
15+
issue-message: 'Thank you for your contribution. We will check and reply to you as soon as possible.'
16+
pr-message: 'Thank you for your contribution. We will check and reply to you as soon as possible.'

0 commit comments

Comments
 (0)