forked from xline-kv/Xline
-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (40 loc) · 1.46 KB
/
issue-cmds.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
36
37
38
39
40
41
42
43
44
45
46
47
on:
issue_comment:
types:
- created
jobs:
assignme:
name: /assignme
runs-on: ubuntu-latest
if: startsWith(github.event.comment.body, '/assignme')
steps:
- uses: xt0rted/slash-command-action@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
command: assignme
reaction: "true"
reaction-type: "rocket"
permission-level: read
- uses: actions-ecosystem/action-add-assignees@v1
with:
github_token: ${{ secrets.github_token }}
assignees: ${{ github.actor }}
contributing-agreement:
name: /contributing-agreement
runs-on: ubuntu-latest
if: startsWith(github.event.comment.body, '/contributing-agreement')
steps:
- uses: xt0rted/slash-command-action@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
command: contributing-agreement
reaction: "true"
reaction-type: "rocket"
permission-level: read
- uses: peter-evans/create-or-update-comment@v4
with:
issue-number: ${{ github.event.issue.number }}
body: |
Contributing Agreements:
- [pull request](https://github.com/xline-kv/Xline/blob/master/CONTRIBUTING.md#pull-requests)
- [merge policy](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/about-pull-request-merges#rebase-and-merge-your-commits)