File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Workflow to associate labels automatically
2
+ name : labeler
3
+
4
+ # Trigger the workflow on pull request events
5
+ on : [pull_request]
6
+
7
+ jobs :
8
+ label :
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ # We need to checkout the repository to access the configured file (.github/label-pr.yml)
12
+ - uses : actions/checkout@v2
13
+ - name : Labeler
14
+ uses : docker://decathlon/pull-request-labeler-action:2.0.0
15
+ env :
16
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
17
+ # Here we can override the path for the action configuration. If none is provided, default one is `.github/label-pr.yml`
18
+ # CONFIG_PATH: ${{ secrets.GITHUB_WORKSPACE }}/.github/label-pr.yml
19
+
20
+ pr-labeler :
21
+ runs-on : ubuntu-latest
22
+ steps :
23
+ - uses : TimonVS/pr-labeler-action@v3
24
+ # with:
25
+ # configuration-path: .github/pr-labeler.yml # optional, .github/pr-labeler.yml is the default value
26
+ env :
27
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments