feat(dkg): Port node signature exchange from Charon #308
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: PR Naming Convention | |
| on: | |
| pull_request: | |
| types: [edited, opened, synchronize, reopened] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| title-check: | |
| runs-on: ubuntu-24.04 | |
| timeout-minutes: 5 | |
| steps: | |
| - name: Validate PR | |
| env: | |
| PR_TITLE: "${{ github.event.pull_request.title }}" | |
| run: | | |
| if [[ ! "$PR_TITLE" =~ ^(fix|feat|build|chore|docs|test|refactor|ci|localize|bump|revert)(\([a-z0-9\-]+(/[a-z0-9\-]+)*\))?:\ .+$ ]]; then | |
| echo "Error: PR title does not follow the convention: '$PR_TITLE'" | |
| echo "Expected format: <type>[(scope)]: <description>" | |
| echo "Where:" | |
| echo " <type> is one of fix, feat, build, chore, docs, test, refactor, ci, localize, bump or revert" | |
| echo " <scope> is an optional lowercase string with hyphens, slashes, or numbers" | |
| echo " <description> is a brief summary of the change" | |
| exit 1 | |
| fi | |
| shell: bash |