Skip to content

Commit b2c5204

Browse files
authored
chore: skip dco check in a merge queue (#409)
Signed-off-by: Michael Beemer <[email protected]>
1 parent e665fe8 commit b2c5204

File tree

2 files changed

+24
-4
lines changed

2 files changed

+24
-4
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,18 @@ name: CI
22

33
on:
44
push:
5-
branches: [main]
5+
branches:
6+
- name
67
paths-ignore:
78
- "**.md"
89
pull_request:
9-
branches: [main]
10-
paths-ignore:
11-
- "**.md"
10+
types:
11+
- opened
12+
- synchronize
13+
- reopened
14+
branches:
15+
- main
16+
merge_group:
1217

1318
jobs:
1419
build:
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: DCO
2+
on:
3+
merge_group:
4+
5+
# Workaround because the DCO app doesn't run on a merge_group trigger
6+
# https://github.com/dcoapp/app/pull/200
7+
jobs:
8+
DCO:
9+
runs-on: ubuntu-latest
10+
permissions:
11+
contents: read
12+
pull-requests: write
13+
if: ${{ github.actor != 'renovate[bot]' }}
14+
steps:
15+
- run: echo "dummy DCO workflow (it won't run any check actually) to trigger by merge_group in order to enable merge queue"

0 commit comments

Comments
 (0)