Skip to content

Commit 49c22a1

Browse files
committed
feat(action): add dco-merge-group
Signed-off-by: Vincent Koppen <[email protected]>
1 parent 619f43b commit 49c22a1

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# SPDX-FileCopyrightText: Contributors to the Power Grid Model project <[email protected]>
2+
#
3+
# SPDX-License-Identifier: MPL-2.0
4+
5+
name: DCO for merge groups
6+
# Workaround because DCO plugin does not run on merge group. See https://github.com/dcoapp/app/issues/199
7+
8+
# Controls when the workflow will run
9+
on:
10+
# run pipeline on merge queue because DCO plugin does not
11+
merge_group:
12+
# Any other signals are handled by the actual DCO plugin
13+
14+
jobs:
15+
dco-merge-group:
16+
name: DCO
17+
runs-on: ubuntu-latest
18+
if: ${{ github.actor != 'dependabot[bot]' }}
19+
steps:
20+
- name: "Workaround for DCO on merge groups"
21+
run: |
22+
echo "Workaround: signal DCO for merge queues because DCO plugin does not run for merge queues. See https://github.com/dcoapp/app/issues/199"

0 commit comments

Comments
 (0)