File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 11name : Project automations
22
33on :
4+ issues :
5+ types :
6+ - opened
7+ - assigned
48 pull_request_target :
59 types :
610 - opened
913
1014# map fields with customized labels
1115env :
16+ new : New
17+ todo : Todo
18+ done : Done
19+ in_progress : In Progress
1220 in_review : In Review
1321
1422jobs :
23+ issue_opened :
24+ name : issue_opened
25+ runs-on : ubuntu-latest
26+ if : github.event_name == 'issues' && (github.event.action == 'opened')
27+ steps :
28+ - name : Move issue to ${{ env.new }}
29+ uses :
leonsteinhaeuser/[email protected] 30+ with :
31+ gh_token : ${{ secrets.MY_GITHUB_TOKEN }}
32+ # user: ghostbsd
33+ organization : ghostbsd
34+ project_id : 5
35+ resource_node_id : ${{ github.event.issue.node_id }}
36+ status_value : ${{ env.new }}
37+ issue_assigned :
38+ name : issue_assigned
39+ runs-on : ubuntu-latest
40+ if : github.event_name == 'issues' && (github.event.action == 'assigned')
41+ steps :
42+ - name : Move issue to ${{ env.in_progress }}
43+ uses :
leonsteinhaeuser/[email protected] 44+ with :
45+ gh_token : ${{ secrets.MY_GITHUB_TOKEN }}
46+ # user: ghostbsd
47+ organization : ghostbsd
48+ project_id : 5
49+ resource_node_id : ${{ github.event.issue.node_id }}
50+ status_value : ${{ env.in_progress }}
1551 pr_opened :
1652 name : pr_opened
1753 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments