Update make docs procedure
#31
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: Update `make docs` procedure | |
| on: | |
| schedule: | |
| - cron: '0 7 * * 1-5' | |
| workflow_dispatch: | |
| # Set restrictive permissions at workflow level | |
| permissions: | |
| contents: read | |
| jobs: | |
| main: | |
| if: github.repository == 'grafana/beyla' | |
| runs-on: ubuntu-latest | |
| # Grant specific permissions needed for the job | |
| permissions: | |
| contents: write # Needed for creating commits or PRs | |
| pull-requests: write # Needed if the action creates PRs | |
| steps: | |
| - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| with: | |
| persist-credentials: 'false' | |
| - uses: grafana/writers-toolkit/update-make-docs@f65819d6a412b752c0e0263375215f049507b0e6 # update-make-docs/v1 |