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:
parent
fad0d10e0d
commit
d2d39beec4
16
.github/workflows/core-feature-alert.yml
vendored
16
.github/workflows/core-feature-alert.yml
vendored
@ -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,
|
||||
});
|
Loading…
Reference in New Issue
Block a user