mirror of
https://github.com/actions/labeler.git
synced 2025-12-13 13:07:24 +00:00
Updating readme for more guidance (#21)
* updating readme * updating file path
This commit is contained in:
committed by
Danny McCormick
parent
44767181ec
commit
df04112348
@@ -16,7 +16,10 @@ label3:
|
|||||||
- example3/*
|
- example3/*
|
||||||
- example3/**/*.yml
|
- example3/**/*.yml
|
||||||
```
|
```
|
||||||
Then create a workflow utilizing the labeler action, granting access to the GITHUB_TOKEN so the action can make calls to GitHub's rest API:
|
Where `"label1"` is the name of the label on your repository that you want to add (eg: "merge conflict", "needs-updating") and `"example1/**/*"` is the path of the changed files.
|
||||||
|
|
||||||
|
|
||||||
|
Then create a workflow (eg: `.github/workflows/label.yml` see [Creating a Workflow file](https://help.github.com/en/articles/configuring-a-workflow#creating-a-workflow-file)) utilizing the labeler action, granting access to the GITHUB_TOKEN so the action can make calls to GitHub's rest API:
|
||||||
```
|
```
|
||||||
name: "Pull Request Labeler"
|
name: "Pull Request Labeler"
|
||||||
on:
|
on:
|
||||||
|
|||||||
Reference in New Issue
Block a user