Index API, Exists method result can be mapped to false in cases elasticsearch returns 400, 401, 403, 405 http status code. #145
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |