Skip to content

Commit 4e1fb15

Browse files
add readme (#1)
1 parent e180612 commit 4e1fb15

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed

README.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
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+

0 commit comments

Comments
 (0)