fix: The aggs result of NestedAggregator with sub NestedAggregator may be not accurately #9606
Workflow file for this run
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: Create Documentation Issue | |
on: | |
pull_request: | |
types: | |
- labeled | |
env: | |
PR_NUMBER: ${{ github.event.number }} | |
jobs: | |
create-issue: | |
if: ${{ github.event.label.name == 'needs-documentation' }} | |
runs-on: ubuntu-latest | |
name: Create Documentation Issue | |
steps: | |
- name: GitHub App token | |
id: github_app_token | |
uses: tibdex/github-app-token@v2.1.0 | |
with: | |
app_id: ${{ secrets.APP_ID }} | |
private_key: ${{ secrets.APP_PRIVATE_KEY }} | |
installation_id: 22958780 | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Edit the issue template | |
run: | | |
echo "https://github.com/opensearch-project/OpenSearch/pull/${{ env.PR_NUMBER }}." >> ./ci/documentation/issue.md | |
- name: Create Issue From File | |
id: create-issue | |
uses: peter-evans/create-issue-from-file@v5 | |
with: | |
title: Add documentation related to new feature | |
content-filepath: ./ci/documentation/issue.md | |
labels: documentation | |
repository: opensearch-project/documentation-website | |
token: ${{ steps.github_app_token.outputs.token }} | |
- name: Print Issue | |
run: echo Created related documentation issue ${{ steps.create-issue.outputs.issue-number }} |