Skip to content

Commit

Permalink
Action to add issue to AO project (elastic#127312)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
  • Loading branch information
emma-raffenne and kibanamachine authored Mar 23, 2022
1 parent 77034b3 commit d3d36cf
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/add-to-ao-project.yml
Original file line number Diff line number Diff line change
@@ -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/[email protected]
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 }}

0 comments on commit d3d36cf

Please sign in to comment.