Skip to content

Commit

Permalink
Merge pull request #625 from PowerGridModel/feature/temporary-dco-check
Browse files Browse the repository at this point in the history
temporarily add DCO check
  • Loading branch information
Jerry-Jinfeng-Guo authored Jun 5, 2024
2 parents d74097b + 16743ab commit 08d0565
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/dco-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
#
# SPDX-License-Identifier: MPL-2.0

name: Check DCO
# Workaround because DCO plugin is stuck. See https://github.com/dcoapp/app/issues/211

on:
pull_request:
push:
branches:
- main

jobs:
dco:
name: DCO
runs-on: ubuntu-latest
if: ${{ github.actor != 'dependabot[bot]' }}
steps:
- uses: actions/checkout@v4

- name: Setup python
uses: actions/setup-python@v5
with:
python-version: '3.10'
architecture: x64

- name: Check DCO
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
pip install dco-check
dco-check --verbose

0 comments on commit 08d0565

Please sign in to comment.