豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

Commit e1231c5

Browse files
authored
ci: add merge queue triggers (#754)
1 parent c74f72e commit e1231c5

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

.github/workflows/convetional-commit.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: 'Conventional Commit'
22

33
on:
4+
merge_group:
45
pull_request_target:
56
types:
67
# Defaults
@@ -19,6 +20,7 @@ jobs:
1920
permissions:
2021
pull-requests: read
2122
steps:
22-
- uses: amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50 # v6.1.1
23+
- if: github.event_name != 'merge_group'
24+
uses: amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50 # v6.1.1
2325
env:
2426
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/presubmit.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: Check code before submitting
33
permissions: read-all
44

55
on:
6+
merge_group:
67
push:
78
branches:
89
- main

.github/workflows/run-tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: Compile and run tests
33
permissions: read-all
44

55
on:
6+
merge_group:
67
push:
78
branches:
89
- main

0 commit comments

Comments
 (0)