Skip to content

Commit 7adaa02

Browse files
committed
ci: added auto assign
1 parent 25753ce commit 7adaa02

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/pull_request-opened.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,20 @@ jobs:
1515
uses: actions/github-script@v7
1616
with:
1717
script: |
18+
await github.pulls.addAssignees({
19+
owner: context.repo.owner,
20+
repo: context.repo.repo,
21+
pull_number: context.payload.pull_request.number,
22+
assignees: [ "simonkovtyk" ]
23+
});
24+
25+
github.rest.issues.addLabels({
26+
issue_number: context.issue.number,
27+
owner: context.repo.owner,
28+
repo: context.repo.repo,
29+
labels: [ "feature" ]
30+
});
31+
1832
const body = `### 🎉 Welcome!
1933
2034
Thank you for your contribution and for opening this pull request.

0 commit comments

Comments
 (0)