refactor: 确立独立子工程架构 (backend, admin, mpuniapp) 并同步更新 AGENTS.md 规范
这个提交包含在:
@@ -0,0 +1,16 @@
|
||||
const fs = require('fs')
|
||||
const {
|
||||
execSync
|
||||
} = require('child_process')
|
||||
|
||||
const message = fs.readFileSync(process.argv[2]).toString('utf8').toLowerCase()
|
||||
const branch = execSync('git rev-parse --abbrev-ref HEAD').toString().trim()
|
||||
|
||||
if (
|
||||
(branch === 'master' || branch === 'alpha') &&
|
||||
!message.startsWith('merge') &&
|
||||
!message.startsWith('*')
|
||||
) {
|
||||
console.log('You are not allowed to commit directly to master or alpha branch')
|
||||
process.exit(1)
|
||||
}
|
||||
在新工单中引用
屏蔽一个用户