Skip to content
This repository was archived by the owner on Sep 1, 2022. It is now read-only.

Commit 0119b6f

Browse files
Merge pull request #122 from githubtraining/fix-octokit-issue-assignment
Update octokit to assignRegistrant
2 parents b088da3 + 9fa44a5 commit 0119b6f

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

config.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -327,12 +327,8 @@ steps:
327327
head: bug-fix
328328
base: master
329329
action_id: newPullRequest
330-
- type: octokit
331-
method: issues.addAssigneesToIssue
332-
owner: "%payload.repository.owner.login%"
333-
repo: "%payload.repository.name%"
334-
number: "%actions.newPullRequest.data.number%"
335-
assignees: "%payload.repository.owner.login%"
330+
- type: assignRegistrant
331+
issue: "%actions.newPullRequest.data.number%"
336332
## Suggest a change in the new PR
337333
- type: octokit
338334
method: pullRequests.createComment
@@ -413,4 +409,4 @@ steps:
413409
data:
414410
url: "%actions.lastIssue.data.html_url%"
415411
- type: closeIssue
416-
issue: Create a patch release
412+
issue: Create a patch release

0 commit comments

Comments
 (0)