-
Notifications
You must be signed in to change notification settings - Fork 8
46 lines (41 loc) · 1.23 KB
/
auto-assign.yml
File metadata and controls
46 lines (41 loc) · 1.23 KB
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
36
37
38
39
40
41
42
43
44
45
46
name: Auto Assign
on:
issues:
types: [opened]
pull_request:
types: [opened]
jobs:
pr-assigner:
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- name: "Pull Request issue assigner"
uses: pozil/auto-assign-issue@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
assignees: LorenzoTettamanti
numOfAssignee: 1
generic-issue-assigner:
if: github.event_name == 'issues'
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- name: "Issue assigner"
uses: pozil/auto-assign-issue@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
assignees: LorenzoTettamanti
cli-issue-assigner:
if: github.event_name == 'issues' && github.event.action == 'labeled' && github.event.issue.labels.name == 'cortexflow cli'
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- name: "Cli issue assigner"
uses: pozil/auto-assign-issue@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
assignees: LorenzoTettamanti,PranavVerma-droid