1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-25 00:07:47 +01:00

feat: add reviewers

This commit is contained in:
FredrikOseberg 2024-12-09 15:32:10 +01:00
parent fad0d10e0d
commit d2d39beec4
No known key found for this signature in database
GPG Key ID: 282FD8A6D8F9BCF0

View File

@ -24,5 +24,17 @@ jobs:
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.payload.pull_request.number,
body: `@FredrikOseberg, @${prCreator}, core features have been modified in this pull request. Please review!`
})
body: `@${prCreator}, core features have been modified in this pull request. Please review!`
})
steps:
- name: Add reviewers to the PR
uses: actions/github-script@v6
with:
script: |
const reviewers = ['FredrikOseberg'];
github.rest.pulls.requestReviewers({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: context.payload.pull_request.number,
reviewers: reviewers,
});