Added alert event example to v2 POST event endpoint, and notifications are now available for v2 POST events #9226
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: "Ensure labels" | |
| permissions: | |
| contents: read | |
| pull-requests: read | |
| on: # yamllint disable-line rule:truthy | |
| pull_request: | |
| types: | |
| - labeled | |
| - opened | |
| - unlabeled | |
| - ready_for_review | |
| - reopened | |
| - synchronize | |
| jobs: | |
| changelog: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check changelog labels | |
| if: github.event.pull_request.draft == false && false == contains(join(github.event.pull_request.labels.*.name, ','), 'changelog/') | |
| run: |- | |
| echo "::error Add 'changelog/*' label"; | |
| exit 1; | |
| - name: OK | |
| run: echo "Thank you!" |