Adds workflow for infra monitoring ui team (#126921)

* Adds workflow for infra monitoring ui team

* Adds other labels for our team

* Updates token to general use one

@tylersmalley mentioned this one exists, so it seems like a safer choice for now. Ultimately we may want a single one from the Elastic org that is enabled for every repo that needs it.
This commit is contained in:
Jason Rhodes 2022-03-04 14:23:35 -05:00 committed by GitHub
parent 70a4f7930f
commit 1ed4aea9e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,25 @@
name: Add issues to Infra Monitoring UI project
on:
issues:
types: [labeled]
jobs:
sync_issues_with_table:
runs-on: ubuntu-latest
name: Add issues to project
steps:
- name: Add
uses: richkuz/projectnext-label-assigner@1.0.2
id: add_to_projects
with:
config: |
[
{"label": "Team:Infra Monitoring UI", "projectNumber": 664},
{"label": "Feature:Stack Monitoring", "projectNumber": 664},
{"label": "Feature:Logs UI", "projectNumber": 664},
{"label": "Feature:Metrics UI", "projectNumber": 664},
]
env:
GRAPHQL_API_BASE: 'https://api.github.com'
PAT_TOKEN: ${{ secrets.PROJECT_ASSIGNER_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}