feat(type): allow type annotation options to be extracted #56
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
on: | |
pull_request: | |
types: [synchronize, edited, opened] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Setup | |
uses: ./.github/actions/setup | |
timeout-minutes: 10 | |
- name: Lint commit messages | |
run: yarn commitlint --from $BASE_SHA --to $HEAD_SHA --verbose | |
env: | |
BASE_SHA: ${{ github.event.pull_request.base.sha }} | |
HEAD_SHA: ${{ github.event.pull_request.head.sha }} | |
- name: Lint pull request title | |
run: echo $PR_TITLE | yarn commitlint --verbose | |
env: | |
PR_TITLE: ${{ github.event.pull_request.title }} |