chore(slack-lite): switch to pull_request_target so have access to repo secrets #8
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/** | |
permissions: | |
deployments: write | |
id-token: write | |
contents: read | |
pull-requests: read |