-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (31 loc) · 1.29 KB
/
auto-assign.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Auto-Assign
on:
issues:
types: [opened]
pull_request:
types: [opened]
jobs:
add-assigness:
runs-on: ubuntu-latest
steps:
- uses: akinocccc/selected-collaborators@v1.1.1
id: candidate
with:
token: ${{ secrets.GH_TOKEN }}
- uses: wow-actions/auto-assign@v3
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# using the `org/team_slug` or `/team_slug` syntax to add git team as reviewers
reviewers: ${{ steps.candidate.outputs['candidates_string'] }}
assignees: ${{ steps.candidate.outputs['candidates_string'] }}
skipKeywords: wip, draft
- name: Notification
uses: wow-actions/auto-comment@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
issuesOpened: |
♥️ ${{ steps.candidate.outputs.at_candidates_string }}, please verify the issue as soon as possible. Once it's verified, please reply to @${{ github.event.issue.user.login }} with the next steps and the estimated time required.
<!-- AUTO_ASSIGENEES_NOTIFY_HOOK -->
pullRequestOpened: |
♥️ ${{ steps.candidate.outputs.at_candidates_string }}, please reviews the pull request as soon as possible.
<!-- AUTO_ASSIGENEES_NOTIFY_HOOK -->