File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 1+
2+ name : Auto Assign to Project(s)
3+
4+ on :
5+ issues :
6+ types : [opened, edited, milestoned]
7+ pull_request :
8+ types : [opened, edited, milestoned]
9+ env :
10+ MY_GITHUB_TOKEN : ${{ secrets.APM_TECH_USER_TOKEN }}
11+
12+ jobs :
13+ assign_one_project :
14+ runs-on : ubuntu-latest
15+ name : Assign milestoned to Project
16+ steps :
17+ - name : Assign issues with milestones to project
18+ uses : elastic/assign-one-project-github-action@1.2.1
19+ if : github.event.issue && github.event.issue.milestone
20+ with :
21+ project : ' https://github.com/orgs/elastic/projects/454'
22+ project_id : ' 5882982'
23+ column_name : ' Planned'
24+ - name : Assign new pull requests to project
25+ uses : elastic/assign-one-project-github-action@1.2.1
26+ if : github.event.action == 'opened' && github.event.pull_request
27+ with :
28+ project : ' https://github.com/orgs/elastic/projects/454'
29+ project_id : ' 5882982'
30+ column_name : ' In Progress'
You can’t perform that action at this time.
0 commit comments