Skip to content

Commit

Permalink
ci/cd: add auto-assign.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
oedokumaci committed Feb 11, 2024
1 parent 5aa431f commit eb25049
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/auto_assign.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Set to true to add reviewers to pull requests
addReviewers: true

# Set addAssignees to 'author' to set the PR creator as the assignee.
addAssignees: author

# A list of reviewers to be added to pull requests (GitHub user name)
reviewers:
- oedokumaci

# A number of reviewers added to the pull request
# Set 0 to add all the reviewers (default: 0)
numberOfReviewers: 0

# A list of assignees, overrides reviewers if set
# assignees:
# - assigneeA

# A number of assignees to add to the pull request
# Set to 0 to add all of the assignees.
# Uses numberOfReviewers if unset.
# numberOfAssignees: 2

# A list of keywords to be skipped the process that add reviewers if pull requests include it
# skipKeywords:
# - wip

# The action will only run if the PR meets the specified filters
# filterLabels:
# # Run
# include:
# - my_label
# - another_label
# # Not run
# exclude:
# - wip

# The action will only run for non-draft PRs. If you want to run for all PRs, you need to enable it to run on drafts.
# runOnDraft: true
24 changes: 24 additions & 0 deletions .github/workflows/auto-assign.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: auto-assign

on:
pull_request:
branches:
- main
types:
- opened
- synchronize
- reopened
- ready_for_review

defaults:
run:
shell: bash

env:
LANG: en_US.utf-8
LC_ALL: en_US.utf-8
PYTHONIOENCODING: UTF-8

jobs:
call-auto-assign-job:
uses: oedokumaci/oedokumaci/.github/workflows/auto-assign.yml@main

0 comments on commit eb25049

Please sign in to comment.