18 lines
617 B
YAML
18 lines
617 B
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.0.0
|
|
id: project_assigner
|
|
with:
|
|
issue-mappings: '[{"label": "Team:AppArch", "projectNumber": 37, "columnName": "To triage"}, {"label": "Feature:Lens", "projectNumber": 32, "columnName": "Long-term goals"}, {"label": "Team:Canvas", "projectNumber": 38, "columnName": "Inbox"}]'
|
|
ghToken: ${{ secrets.PROJECT_ASSIGNER_TOKEN }}
|
|
|
|
|