Skip to content

Commit

Permalink
【PAC】feat:支持从代码库维度查看对应的代码库事件 #8122
Browse files Browse the repository at this point in the history
  • Loading branch information
hejieehe committed Nov 9, 2023
1 parent 919932e commit 264adea
Show file tree
Hide file tree
Showing 5 changed files with 63 additions and 63 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,6 @@ object WebhookI18nConstants {
// issues操作类型不匹配
const val ISSUES_ACTION_NOT_MATCH = "bkRepoTriggerIssueActionNotMatch"

// 事件回放匹配码后缀
// 事件回放
const val EVENT_REPLAY_DESC = "bkEventReplayDesc"
}
31 changes: 31 additions & 0 deletions support-files/i18n/message_en_US.properties
Original file line number Diff line number Diff line change
Expand Up @@ -425,3 +425,34 @@ BUILD_ENV_TYPE_WINDOWS=Build-Windows
BUILD_ENV_TYPE_MACOS=Build-MacOS
BUILD_ENV_TYPE_BUILDLESS=Buildles
BUILD_ENV_TYPE_BUILD_TRIGGER=BuildTrigger
EVENT_TYPE_PUSH=Push
EVENT_TYPE_TAG_PUSH=Tag Push
EVENT_TYPE_MERGE_REQUEST=Merge Request
EVENT_TYPE_MERGE_REQUEST_ACCEPT=Merge Request Accept
EVENT_TYPE_ISSUES=Issue
EVENT_TYPE_NOTE=Note
EVENT_TYPE_REVIEW=Review
EVENT_TYPE_CREATE=Create Tag or Branch
EVENT_TYPE_PULL_REQUEST=Pull Request
EVENT_TYPE_POST_COMMIT=Post Commit
EVENT_TYPE_LOCK_COMMIT=Lock
EVENT_TYPE_PRE_COMMIT=Pre Commit
EVENT_TYPE_CHANGE_COMMIT=Change-Commit
EVENT_TYPE_CHANGE_CONTENT=Change-Content
EVENT_TYPE_CHANGE_SUBMIT=Change-Submit
EVENT_TYPE_SHELVE_COMMIT=Shelve-Commit
EVENT_TYPE_SHELVE_SUBMIT=Shelve-Submit
TRIGGER_TYPE_CODE_SVN=SVN
TRIGGER_TYPE_CODE_GIT=GIT
TRIGGER_TYPE_CODE_GITLAB=Gitlab
TRIGGER_TYPE_GITHUB=Github
TRIGGER_TYPE_CODE_TGIT=TGIT
TRIGGER_TYPE_CODE_P4=P4
TRIGGER_TYPE_MANUAL=Manual Trigger
TRIGGER_TYPE_TIME_TRIGGER=Time Trigger
TRIGGER_TYPE_SERVICE=Service Trigger
TRIGGER_TYPE_PIPELINE=Pipeline Trigger
TRIGGER_TYPE_REMOTE=Remote Trigger
TRIGGER_SUCCESS=Trigger success
TRIGGER_FAILED=Trigger failed
TRIGGER_NOT_MATCH=Trigger not match
31 changes: 31 additions & 0 deletions support-files/i18n/message_zh_CN.properties
Original file line number Diff line number Diff line change
Expand Up @@ -425,3 +425,34 @@ BUILD_ENV_TYPE_WINDOWS=构建环境-Windows
BUILD_ENV_TYPE_MACOS=构建环境-MacOS
BUILD_ENV_TYPE_BUILDLESS=无编译环境
BUILD_ENV_TYPE_BUILD_TRIGGER=构建触发
EVENT_TYPE_PUSH=推送事件
EVENT_TYPE_TAG_PUSH=Tag 推送事件
EVENT_TYPE_MERGE_REQUEST=合并请求事件
EVENT_TYPE_MERGE_REQUEST_ACCEPT=合并请求已合并事件
EVENT_TYPE_ISSUES=议题事件
EVENT_TYPE_NOTE=评论事件
EVENT_TYPE_REVIEW=评审事件
EVENT_TYPE_CREATE=创建 Tag/Branch 事件
EVENT_TYPE_PULL_REQUEST=拉取请求事件
EVENT_TYPE_POST_COMMIT=提交后置事件
EVENT_TYPE_LOCK_COMMIT=锁定事件
EVENT_TYPE_PRE_COMMIT=提交前置事件
EVENT_TYPE_CHANGE_COMMIT=Change-Commit
EVENT_TYPE_CHANGE_CONTENT=Change-Content
EVENT_TYPE_CHANGE_SUBMIT=Change-Submit
EVENT_TYPE_SHELVE_COMMIT=Shelve-Commit
EVENT_TYPE_SHELVE_SUBMIT=Shelve-Submit
TRIGGER_TYPE_CODE_SVN=SVN 代码库
TRIGGER_TYPE_CODE_GIT=GIT 代码库
TRIGGER_TYPE_CODE_GITLAB=Gitlab 代码库
TRIGGER_TYPE_GITHUB=Github 代码库
TRIGGER_TYPE_CODE_TGIT=TGIT 代码库
TRIGGER_TYPE_CODE_P4=P4 代码库
TRIGGER_TYPE_MANUAL=手动触发
TRIGGER_TYPE_TIME_TRIGGER=定时触发
TRIGGER_TYPE_SERVICE=服务触发
TRIGGER_TYPE_PIPELINE=流水线触发
TRIGGER_TYPE_REMOTE=远程触发
TRIGGER_SUCCESS=触发成功
TRIGGER_FAILED=触发失败
TRIGGER_NOT_MATCH=触发器不匹配
31 changes: 0 additions & 31 deletions support-files/i18n/process/message_en_US.properties
Original file line number Diff line number Diff line change
Expand Up @@ -403,34 +403,3 @@ bkRepoTriggerNoteContentNotMatch=Note does not match
bkRepoTriggerNoteActionNotMatch=Note type does not match
bkRepoTriggerReviewActionNotMatch=Code review type does not match
bkRepoTriggerIssueActionNotMatch=Issue action does not match
EVENT_TYPE_PUSH=Push
EVENT_TYPE_TAG_PUSH=Tag Push
EVENT_TYPE_MERGE_REQUEST=Merge Request
EVENT_TYPE_MERGE_REQUEST_ACCEPT=Merge Request Accept
EVENT_TYPE_ISSUES=Issue
EVENT_TYPE_NOTE=Note
EVENT_TYPE_REVIEW=Review
EVENT_TYPE_CREATE=Create Tag or Branch
EVENT_TYPE_PULL_REQUEST=Pull Request
EVENT_TYPE_POST_COMMIT=Post Commit
EVENT_TYPE_LOCK_COMMIT=Lock
EVENT_TYPE_PRE_COMMIT=Pre Commit
EVENT_TYPE_CHANGE_COMMIT=Change-Commit
EVENT_TYPE_CHANGE_CONTENT=Change-Content
EVENT_TYPE_CHANGE_SUBMIT=Change-Submit
EVENT_TYPE_SHELVE_COMMIT=Shelve-Commit
EVENT_TYPE_SHELVE_SUBMIT=Shelve-Submit
TRIGGER_TYPE_CODE_SVN=SVN
TRIGGER_TYPE_CODE_GIT=GIT
TRIGGER_TYPE_CODE_GITLAB=Gitlab
TRIGGER_TYPE_GITHUB=Github
TRIGGER_TYPE_CODE_TGIT=TGIT
TRIGGER_TYPE_CODE_P4=P4
TRIGGER_TYPE_MANUAL=Manual Trigger
TRIGGER_TYPE_TIME_TRIGGER=Time Trigger
TRIGGER_TYPE_SERVICE=Service Trigger
TRIGGER_TYPE_PIPELINE=Pipeline Trigger
TRIGGER_TYPE_REMOTE=Remote Trigger
TRIGGER_SUCCESS=Trigger success
TRIGGER_FAILED=Trigger failed
TRIGGER_NOT_MATCH=Trigger not match
31 changes: 0 additions & 31 deletions support-files/i18n/process/message_zh_CN.properties
Original file line number Diff line number Diff line change
Expand Up @@ -403,34 +403,3 @@ bkRepoTriggerNoteContentNotMatch=评论内容不满足触发条件
bkRepoTriggerNoteActionNotMatch=评论类型不满足触发条件
bkRepoTriggerReviewActionNotMatch=评审类型不满足触发条件
bkRepoTriggerIssueActionNotMatch=Issue 动作不满足触发条件
EVENT_TYPE_PUSH=推送事件
EVENT_TYPE_TAG_PUSH=Tag 推送事件
EVENT_TYPE_MERGE_REQUEST=合并请求事件
EVENT_TYPE_MERGE_REQUEST_ACCEPT=合并请求已合并事件
EVENT_TYPE_ISSUES=议题事件
EVENT_TYPE_NOTE=评论事件
EVENT_TYPE_REVIEW=评审事件
EVENT_TYPE_CREATE=创建 Tag/Branch 事件
EVENT_TYPE_PULL_REQUEST=拉取请求事件
EVENT_TYPE_POST_COMMIT=提交后置事件
EVENT_TYPE_LOCK_COMMIT=锁定事件
EVENT_TYPE_PRE_COMMIT=提交前置事件
EVENT_TYPE_CHANGE_COMMIT=Change-Commit
EVENT_TYPE_CHANGE_CONTENT=Change-Content
EVENT_TYPE_CHANGE_SUBMIT=Change-Submit
EVENT_TYPE_SHELVE_COMMIT=Shelve-Commit
EVENT_TYPE_SHELVE_SUBMIT=Shelve-Submit
TRIGGER_TYPE_CODE_SVN=SVN 代码库
TRIGGER_TYPE_CODE_GIT=GIT 代码库
TRIGGER_TYPE_CODE_GITLAB=Gitlab 代码库
TRIGGER_TYPE_GITHUB=Github 代码库
TRIGGER_TYPE_CODE_TGIT=TGIT 代码库
TRIGGER_TYPE_CODE_P4=P4 代码库
TRIGGER_TYPE_MANUAL=手动触发
TRIGGER_TYPE_TIME_TRIGGER=定时触发
TRIGGER_TYPE_SERVICE=服务触发
TRIGGER_TYPE_PIPELINE=流水线触发
TRIGGER_TYPE_REMOTE=远程触发
TRIGGER_SUCCESS=触发成功
TRIGGER_FAILED=触发失败
TRIGGER_NOT_MATCH=触发器不匹配

0 comments on commit 264adea

Please sign in to comment.