Skip to content

feat(hd_wallet): evm hd wallet and trezor #2824

feat(hd_wallet): evm hd wallet and trezor

feat(hd_wallet): evm hd wallet and trezor #2824

Workflow file for this run

name: "PR Lint"
on:
pull_request:
types:
- opened
- edited
- reopened
- synchronize
- labeled
- unlabeled
jobs:
main:
name: Validate PR
runs-on: ubuntu-latest
steps:
- uses: amannn/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
types: |
feat
fix
chore
docs
deps
test
refactor
ci
requireScope: true
# Do not allow starting with uppercase for subject part
subjectPattern: ^(?![A-Z]).+$
headerPatternCorrespondence: type, scope, subject
- name: Check PR title length
env:
TITLE: ${{ github.event.pull_request.title }}
run: |
title_length=${#TITLE}
if [ $title_length -gt 72 ]
then
echo "PR title is too long (greater than 72 characters)"
exit 1
fi
- name: Check PR labels
if: >
(contains(toJson(github.event.pull_request.labels.*.name), 'under review') == false &&
contains(toJson(github.event.pull_request.labels.*.name), 'in progress') == false) ||
(contains(toJson(github.event.pull_request.labels.*.name), 'under review') == true &&
contains(toJson(github.event.pull_request.labels.*.name), 'in progress') == true)
run: |
echo "PR must have "exactly one" of these labels: [ 'under review', 'in progress' ]."
exit 1