Client hardcodes Accept header version with no override, breaking compatibility with older Elasticsearch servers #1218
This file contains hidden or 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 }} |