Skip to content

Commit 44f47ee

Browse files
committed
Add dummy DCO job for the merge queue
The DCO GitHub app doesn't support merge queues yet, so to be able to make DCO a required check for PRs, we need to provide a dummy DCO check that will always pass for merge queues actions (if a PR is in the merge we already know the DCO check passed anyway). Note that we include the whole workflow in a jinja raw block to avoid clashed between GitHub variable replacement and jinja variable replacement, which overlap. Signed-off-by: Leandro Lucarella <[email protected]>
1 parent d1e8ec9 commit 44f47ee

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{% raw -%}
2+
# Based on https://github.com/hyperledger/besu/pull/5207/files
3+
name: DCO
4+
on:
5+
merge_group:
6+
7+
jobs:
8+
DCO:
9+
runs-on: ubuntu-latest
10+
if: ${{ github.actor != 'dependabot[bot]' }}
11+
steps:
12+
- run: echo "This DCO job runs on merge_queue event and doesn't check PR contents"
13+
{%- endraw %}

0 commit comments

Comments
 (0)