[New Rule] GitHub Actions Bot Pushed to Repository for First Time #3932
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: ~ | |
| jobs: | |
| preview: | |
| uses: elastic/docs-builder/.github/workflows/preview-build.yml@main | |
| with: | |
| continue-on-error: false | |
| strict: true | |
| path-pattern: | | |
| docs/** | |
| rules/** | |
| rules_building_block/** | |
| permissions: | |
| deployments: write | |
| id-token: write | |
| contents: read | |
| pull-requests: write |