Prevent NPE when generating snapshot metrics before initial cluster state is set #38305
Workflow file for this run
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: docs-build | |
on: | |
push: | |
branches: | |
- main | |
pull_request_target: ~ | |
merge_group: ~ | |
jobs: | |
docs-preview: | |
uses: elastic/docs-builder/.github/workflows/preview-build.yml@main | |
with: | |
path-pattern: docs/** | |
path-pattern-ignore: docs/changelog/**/*.yaml | |
enable-cumulative-comment: true | |
permissions: | |
deployments: write | |
id-token: write | |
contents: read | |
pull-requests: write |