Skip to content

(PC-32510) chore(pipeline): slack message only on failure or success #14180

(PC-32510) chore(pipeline): slack message only on failure or success

(PC-32510) chore(pipeline): slack message only on failure or success #14180

name: '3 [on_pr] Check PR title format'
on:
pull_request:
branches: [master]
types:
- opened
- edited
- synchronize
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
check:
runs-on: ubuntu-22.04
steps:
- uses: Slashgear/action-check-pr-title@v4.3.0
with:
regexp: '^(\((PC-[0-9]+|BSR)\) )?(build|lint|ci|docs|feat|fix|perf|refactor|test|chore)\(\w+\): \w+'
- name: Dump steps context
env:
STEPS_CONTEXT: ${{ toJson(steps) }}
run: echo "$STEPS_CONTEXT"