Skip to content

Commit

Permalink
Merge pull request #238 from PowerGridModel/feature/mock-dco-on-merge…
Browse files Browse the repository at this point in the history
…-group

add DCO for merge groups
  • Loading branch information
mgovers authored Mar 18, 2024
2 parents 9e09c6c + eda6947 commit dee892a
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/dco-merge-group.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# SPDX-FileCopyrightText: Contributors to the Power Grid Model project <[email protected]>
#
# SPDX-License-Identifier: MPL-2.0

name: DCO for merge groups
# Workaround because DCO plugin does not run on merge group. See https://github.com/dcoapp/app/issues/199

# Controls when the workflow will run
on:
# run pipeline on merge queue because DCO plugin does not
merge_group:
# Any other signals are handled by the actual DCO plugin

jobs:
dco-merge-group:
name: DCO
runs-on: ubuntu-latest
if: ${{ github.actor != 'dependabot[bot]' }}
steps:
- name: "Workaround for DCO on merge groups"
run: |
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 comments on commit dee892a

Please sign in to comment.