[WIP] Adds restrictedApi usage stats to use in UA #2
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
on: | |
pull_request_target: | |
branches: | |
- main | |
types: | |
- opened | |
jobs: | |
approve: | |
name: Auto-approve API docs | |
runs-on: ubuntu-latest | |
if: | | |
startsWith(github.event.pull_request.head.ref, 'api_docs') && | |
github.event.pull_request.user.login == 'kibanamachine' | |
permissions: | |
pull-requests: write | |
steps: | |
- uses: hmarr/auto-approve-action@f0939ea97e9205ef24d872e76833fa908a770363 # v4.0.0 |