mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
Action to add issue to AO project (#127312)
* Action to add issue to AO project * Switch to using richkuz projectnext-assigner as per jasonrhodes suggestion * Add condition to run only on issues labeled as AO Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
77034b3f54
commit
d3d36cf0c1
1 changed files with 23 additions and 0 deletions
23
.github/workflows/add-to-ao-project.yml
vendored
Normal file
23
.github/workflows/add-to-ao-project.yml
vendored
Normal file
|
@ -0,0 +1,23 @@
|
|||
name: Add issues to Actionable Observability project
|
||||
on:
|
||||
issues:
|
||||
types: [labeled]
|
||||
jobs:
|
||||
sync_issues_with_table:
|
||||
runs-on: ubuntu-latest
|
||||
name: Add issues to project
|
||||
if: |
|
||||
github.event.label.name == 'Team: Actionable Observability'
|
||||
steps:
|
||||
- name: Add
|
||||
uses: richkuz/projectnext-label-assigner@1.0.2
|
||||
id: add_to_projects
|
||||
with:
|
||||
config: |
|
||||
[
|
||||
{"label": "Team: Actionable Observability", "projectNumber": 669}
|
||||
]
|
||||
env:
|
||||
GRAPHQL_API_BASE: 'https://api.github.com'
|
||||
PAT_TOKEN: ${{ secrets.PROJECT_ASSIGNER_TOKEN }}
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
Loading…
Add table
Add a link
Reference in a new issue