Skip to content

Commit

Permalink
ci(github): create workflow assign-reviewer.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
remarkablemark authored Jan 13, 2024
1 parent 10cd5b5 commit 8378e06
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/assign-reviewer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Assign Reviewer
on: pull_request_target

jobs:
assign-reviewer:
runs-on: ubuntu-latest
steps:
- name: Assign reviewer
if: >
startsWith(github.event.pull_request.title, 'build(deps-dev): bump ') == false &&
contains(github.event.action, 'opened')
run: gh pr edit ${{ github.event.number }} --add-assignee ${{ github.event.pull_request.user.login }} --add-reviewer remarkablemark
env:
GITHUB_TOKEN: ${{ github.token }}

0 comments on commit 8378e06

Please sign in to comment.