File tree Expand file tree Collapse file tree 1 file changed +46
-0
lines changed
Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Original file line number Diff line number Diff line change 1+ # Issue & Pull Request virtual assistant
2+
3+ Implements a [ GitHub
4+ Action] ( https://help.github.com/en/categories/automating-your-workflow-with-github-actions )
5+ that performs actions on issues and/or pull requests based on configurable conditions.
6+
7+ At the moment it provides a single functionality to auto-label new issues and new pull requests.
8+
9+ ## Installing
10+
11+ Add a ` .github/workflows/main.yml ` file to your repository with these
12+ contents:
13+
14+ name: Virutal Assistant
15+
16+ on: [issues, pull_request]
17+
18+ jobs:
19+ build:
20+
21+ runs-on: ubuntu-latest
22+
23+ steps:
24+ - uses: ppapapetrou76/virtual-assistant@0.1
25+ env:
26+ GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
27+
28+ Then, add a ` ./github/virtual-assistant.yml ` with the configuration as described
29+ below.
30+
31+ ## Configuration
32+
33+ Configuration can be stored at ` ./github/virtual-assistant.yml ` as a plain list of labels
34+
35+ labels:
36+ - <label1 >
37+ - <label2 >
38+
39+
40+ For example, given this ` ./github/virtual-assistant.yml ` :
41+
42+ labels:
43+ - label1
44+ - label2
45+ - area:label3
46+
You can’t perform that action at this time.
0 commit comments