Skip to content

chore(deps): bump actions/download-artifact from 1 to 4.1.7 in /.github/workflows #316

chore(deps): bump actions/download-artifact from 1 to 4.1.7 in /.github/workflows

chore(deps): bump actions/download-artifact from 1 to 4.1.7 in /.github/workflows #316

Workflow file for this run

name: Lint Pull Request Title
on:
pull_request:
types:
- opened
- edited
- reopened
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-ecosystem/action-regex-match@v2
id: regex-match
with:
text: ${{ github.event.pull_request.title }}
regex: '(?:build|chore|ci|docs|feat|fix|perf|refactor|revert|style|add|update|task|chore|test)\([a-z-A-Z-0-9]+\):\s.+'
- uses: actions-ecosystem/action-create-comment@v1
if: ${{ steps.regex-match.outputs.match == '' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
body: |
:warning: The title of this PR is invalid.
Please make the title match this format `<type>(<scope>): <description>`.
e.g.)
`add(cli): enable --verbose flag`
`fix(api): avoid unexpected error in handler`
allowed types - add, update, task, chore, feat, test, fix
- run: exit 1
if: ${{ steps.regex-match.outputs.match == '' }}