mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 14:57:16 +08:00
workflow: optimize pr check
This commit is contained in:
11
.github/workflows/pr-check-title.yml
vendored
Normal file
11
.github/workflows/pr-check-title.yml
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
name: PR Check Title
|
||||
on:
|
||||
pull_request:
|
||||
jobs:
|
||||
pr-check-title:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: Slashgear/action-check-pr-title@v4.3.0
|
||||
with:
|
||||
regexp: "^(.+)(?:(([^)s]+)))?: .{1,50}|Merge .{1,50})"
|
||||
helpMessage: "Your PR title is invalid. Please follow the Conventional Commits specification: https://www.conventionalcommits.org/zh-hans/v1.0.0/"
|
||||
12
.github/workflows/pr-check.yml
vendored
12
.github/workflows/pr-check.yml
vendored
@@ -1,12 +0,0 @@
|
||||
name: PR Check
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
check-for-cc:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: check-for-cc
|
||||
id: check-for-cc
|
||||
uses: agenthunt/conventional-commit-checker-action@v2.0.0
|
||||
Reference in New Issue
Block a user