File tree Expand file tree Collapse file tree 1 file changed +17
-16
lines changed Expand file tree Collapse file tree 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 }}
119jobs :
12- label :
13-
10+ assign_one_project :
1411 runs-on : ubuntu-latest
15-
12+ name : Assign to One Project
1613 steps :
17- - uses : actions/labeler@v2
14+ - name : Assign issues and pull requests with `bug` label to project 3
15+ uses : srggrs/assign-one-project-github-action@1.2.0
16+ if : |
17+ contains(github.event.issue.labels.*.name, 'bug') ||
18+ contains(github.event.pull_request.labels.*.name, 'bug')
1819 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