File tree 1 file changed +17
-16
lines changed
1 file changed +17
-16
lines changed Original file line number Diff line number Diff line change 1
- # This workflow will triage pull requests and apply a label based on the
2
- # paths that are modified in the pull request.
3
- #
4
- # To use this workflow, you will need to set up a .github/labeler.yml
5
- # file with configuration. For more information, see:
6
- # https://github.com/actions/labeler
7
-
8
- name : Labeler
9
- on : [pull_request]
10
-
1
+ name : Auto Assign to Project(s)
2
+ on :
3
+ issues :
4
+ types : [opened, labeled]
5
+ pull_request :
6
+ types : [opened, labeled]
7
+ env :
8
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
11
9
jobs :
12
- label :
13
-
10
+ assign_one_project :
14
11
runs-on : ubuntu-latest
15
-
12
+ name : Assign to One Project
16
13
steps :
17
- - uses : actions/labeler@v2
14
+ - name : Assign issues and pull requests with `bug` label to project 3
15
+
16
+ if : |
17
+ contains(github.event.issue.labels.*.name, 'bug') ||
18
+ contains(github.event.pull_request.labels.*.name, 'bug')
18
19
with :
19
- repo-token : " ${{ secrets.GITHUB_TOKEN }} "
20
-
20
+ project : " https://github.com/rainingmaster/lua-nginx-module/projects/1 "
21
+ column_name : " PRs that ready to be merged "
You can’t perform that action at this time.
0 commit comments