Workflow configurations to assign issues and PRs with Team:AppArch label to kibana-app-arch project (#52820)

This commit is contained in:
Alex Holmansky 2019-12-13 10:03:30 -05:00 committed by GitHub
parent d79631adaa
commit 8d8da48ac8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,15 @@
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@v1.0.0
id: project_assigner
with:
issue-mappings: '[{"label": "Team:AppAch", "projectName": "kibana-app-arch", "columnId": 6173897}]'
ghToken: ${{ secrets.GITHUB_TOKEN }}

17
.github/workflows/project-assigner.yml vendored Normal file
View file

@ -0,0 +1,17 @@
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@v1.0.0
id: project_assigner
with:
issue-mappings: '[{"label": "Team:AppArch", "projectName": "kibana-app-arch", "columnId": 6173895}]'
ghToken: ${{ secrets.GITHUB_TOKEN }}