Skip to content

Commit 318233d

Browse files
committed
ci: added auto assign
1 parent 54cbbe0 commit 318233d

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/pull_request-opened.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
notify-greet:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- name: Greet
14+
- name: Auto assign
1515
uses: actions/github-script@v7
1616
with:
1717
script: |
@@ -20,15 +20,18 @@ jobs:
2020
owner: context.repo.owner,
2121
repo: context.repo.repo,
2222
assignees: [ "simonkovtyk" ]
23-
})
24-
23+
});
24+
2525
github.rest.issues.addLabels({
2626
issue_number: context.issue.number,
2727
owner: context.repo.owner,
2828
repo: context.repo.repo,
2929
labels: [ "feature" ]
3030
});
31-
31+
- name: Greet
32+
uses: actions/github-script@v7
33+
with:
34+
script: |
3235
const body = `### 🎉 Welcome!
3336
3437
Thank you for your contribution and for opening this pull request.

0 commit comments

Comments
 (0)