24 lines
1.1 KiB
YAML
24 lines
1.1 KiB
YAML
on:
|
|
issues:
|
|
types: [labeled, unlabeled]
|
|
|
|
jobs:
|
|
assign_to_project:
|
|
runs-on: ubuntu-latest
|
|
name: Assign issue or PR to project based on label
|
|
steps:
|
|
- name: Assign to project
|
|
uses: elastic/github-actions/project-assigner@v2.1.0
|
|
id: project_assigner
|
|
with:
|
|
issue-mappings: |
|
|
[
|
|
{"label": "Feature:Lens", "projectNumber": 32, "columnName": "Long-term goals"},
|
|
{"label": "Feature:Discover", "projectNumber": 44, "columnName": "Inbox"},
|
|
{"label": "Feature:Canvas", "projectNumber": 38, "columnName": "Inbox"},
|
|
{"label": "Feature:Dashboard", "projectNumber": 68, "columnName": "Inbox"},
|
|
{"label": "Feature:Drilldowns", "projectNumber": 68, "columnName": "Inbox"},
|
|
{"label": "Feature:Input Controls", "projectNumber": 72, "columnName": "Inbox"},
|
|
{"label": "Team:Security", "projectNumber": 320, "columnName": "Awaiting triage", "projectScope": "org"}
|
|
]
|
|
ghToken: ${{ secrets.PROJECT_ASSIGNER_TOKEN }}
|