fix: created mock to override file open #756
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
# This lints PR titles to ensure they follow semver title conventions. This allows semver to know what kind of patch to create | |
name: PR Title Lint | |
on: | |
pull_request: | |
branches: [ main ] | |
types: | |
- opened | |
- edited | |
- reopened | |
jobs: | |
check_pr_title: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: morrisoncole/[email protected] | |
with: | |
repo-token: "${{ secrets.GITHUB_TOKEN }}" | |
title-regex: "(chore|style|test|feat|fix|docs|ci): .+" | |
on-failed-regex-fail-action: true |