Repository navigation
Honor Accept quality values when choosing the metrics format #26
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
| --- | |
| ### | |
| # This action is synced from https://github.com/prometheus/prometheus | |
| ### | |
| name: Approve pending workflows | |
| on: | |
| # The pinned action requires triage access or higher and only calls GitHub APIs. | |
| issue_comment: # zizmor: ignore[dangerous-triggers] | |
| types: [created] | |
| permissions: read-all | |
| jobs: | |
| approve: | |
| if: >- | |
| github.event.issue.pull_request && | |
| github.event.comment.body == '/workflow-approve' && | |
| (github.repository_owner == 'prometheus' || github.repository_owner == 'prometheus-community') | |
| runs-on: ubuntu-latest | |
| permissions: | |
| actions: write | |
| contents: read | |
| pull-requests: write | |
| steps: | |
| - uses: prometheus/promci/approve_workflows@872d318d090d73df349cb6ed90aadd072ca478f7 # v0.10.0 | |
| with: | |
| github_token: ${{ github.token }} |