diff --git a/.github/workflows/issue-ingest-stats.yml b/.github/workflows/issue-ingest-stats.yml new file mode 100644 index 000000000..06e16cf9c --- /dev/null +++ b/.github/workflows/issue-ingest-stats.yml @@ -0,0 +1,31 @@ +name: 'Ingest Issue' + +on: + issues: + types: + - opened + - edited + - closed + - deleted + - reopened + - labeled + - unlabeled + +concurrency: + group: 'issue-stats-${{github.event.issue.id}}' + cancel-in-progress: false + +jobs: + issue: + name: Ingest + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Ingest Issue + uses: elastic/clients-team-automations/issues_stats@main + with: + issue_payload: ${{ toJSON(github.event.issue) }} + es_cloud_id: ${{ vars.ES_CLOUD_ID }} + es_api_key: ${{ secrets.ES_API_KEY }}