This action apply labels to pull request by rules.
Required Number of pull request. Default ${{ github.token }}
.
Required Github token. Default ${{ github.event.pull_request.number }}
.
Required Path of label rules json file.
[
{
"path": "path/to/dir/**",
"label_name": "label1"
},
{
"path": "path/to/dir/**",
"label_name": "label2"
},
]
uses: realglobe-Inc/auto-labeler-action@master
with:
rules: '.github/data/label_rules.json'