Skip to content

Commit

Permalink
ci(github): fix 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 67dcef7 commit 56f82d0
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/assign-reviewer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,15 @@ 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 }}
- name: Checkout repository
uses: actions/checkout@v4

- 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 56f82d0

Please sign in to comment.