2019-12-13 16:03:30 +01:00
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
types: [labeled, unlabeled]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
assign_to_project:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
name: Assign a PR to project based on label
|
|
|
|
steps:
|
|
|
|
- name: Assign to project
|
2020-03-19 14:30:40 +01:00
|
|
|
uses: elastic/github-actions/project-assigner@v2.0.0
|
2019-12-13 16:03:30 +01:00
|
|
|
id: project_assigner
|
|
|
|
with:
|
2019-12-19 18:42:15 +01:00
|
|
|
issue-mappings: |
|
|
|
|
[
|
|
|
|
]
|
2020-03-19 20:07:29 +01:00
|
|
|
ghToken: ${{ secrets.PROJECT_ASSIGNER_TOKEN }}
|
2020-03-06 16:31:47 +01:00
|
|
|
|
2020-03-19 21:05:01 +01:00
|
|
|
# { "label": "Team:AppArch", "projectNumber": 37, "columnName": "Review in progress" },
|
|
|
|
# { "label": "Feature:Lens", "projectNumber": 32, "columnName": "In progress" },
|
2020-11-03 17:32:47 +01:00
|
|
|
# { "label": "Feature:Canvas", "projectNumber": 38, "columnName": "Review in progress" }
|