Skip to content

Commit 6200d13

Browse files
Merge pull request #12 from UcheSylvester/update-readme
chores: update readme
2 parents 3e42b69 + a2c2cc7 commit 6200d13

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

README.md

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# Pr Labelr
22

3+
<div style="display:flex; gap:10px; flex-wrap:wrap">
4+
<a href="https://github.com/marketplace/actions/pr-labelr">
5+
<img src="https://img.shields.io/github/release/UcheSylvester/pr-labelr.svg" />
6+
</a>
7+
8+
<a href="https://github.com/marketplace/actions/pr-labelr">
9+
<img src="https://img.shields.io/badge/marketplace-pr--labelr-green?logo=github" />
10+
</a>
11+
12+
<a href="https://github.com/marketplace/actions/pr-labelr">
13+
<img src="https://img.shields.io/github/languages/top/UcheSylvester/pr-labelr.svg" />
14+
</a>
15+
</div>
16+
17+
<hr/>
18+
319
This GitHub Action automatically adds given labels to pull requests based on the title of the pull request.
420

521
It does this by checking if the title of the pull request contains any word or phrase enclosed in a bracket (eg `[HOTFIX]: This is a hotfix`); if it does, it automatically adds the label to the pull request.
@@ -37,9 +53,9 @@ jobs:
3753
uses: actions/checkout@v2
3854

3955
- name: Add Labels to PR
40-
uses: UcheSylvester/pr-labelr@v0.1.0
56+
uses: UcheSylvester/pr-labelr@v0.1.1
4157
with:
42-
label: some-label
58+
default-label: some-label
4359
github-token: ${{ secrets.GITHUB_TOKEN }}
4460
```
4561

0 commit comments

Comments
 (0)