fix: Make pollForResponse typesafe to avoid exceptions from unknown requests #3192
Workflow file for this run
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
name: Check PR title | |
on: | |
pull_request_target: | |
types: | |
- opened | |
- reopened | |
- edited | |
- synchronize | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: dfinity/[email protected] | |
with: | |
success-state: Title follows the specification. | |
failure-state: Title does not follow the specification. | |
context-name: conventional-pr-title | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |