21 lines
670 B
YAML
21 lines
670 B
YAML
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
|
|
uses: elastic/github-actions/project-assigner@v2.0.0
|
|
id: project_assigner
|
|
with:
|
|
issue-mappings: |
|
|
[
|
|
]
|
|
ghToken: ${{ secrets.PROJECT_ASSIGNER_TOKEN }}
|
|
|
|
# { "label": "Team:AppArch", "projectNumber": 37, "columnName": "Review in progress" },
|
|
# { "label": "Feature:Lens", "projectNumber": 32, "columnName": "In progress" },
|
|
# { "label": "Team:Canvas", "projectNumber": 38, "columnName": "Review in progress" } |