Skip to content

Commit 0827ddd

Browse files
xi xiaoxixiaofinland
authored andcommitted
ci: remove feature branch name requirement
1 parent ba559e3 commit 0827ddd

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

.github/workflows/pr-ci-merge-main.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,9 @@ concurrency:
1717

1818
jobs:
1919
pr_naming:
20-
name: PR branch name && conventional commits
20+
name: conventional commits
2121
runs-on: ubuntu-latest
2222
steps:
23-
- name: Check Source Branch
24-
if: "!startsWith(github.head_ref, 'feature/') && !startsWith(github.head_ref, 'release-please--')"
25-
run: |
26-
echo "❌ Pull requests to main must come from feature/* or release-please-- branches."
27-
exit 1
28-
2923
- name: Lint Commit Messages
3024
uses: wagoid/commitlint-github-action@v6
3125

0 commit comments

Comments
 (0)