mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
Most scripts can use it and it is good at catching errors. Signed-off-by: Demi Marie Obenour <demiobenour@gmail.com>
22 lines
557 B
YAML
22 lines
557 B
YAML
name: DCO
|
|
on: [pull_request, merge_group]
|
|
|
|
jobs:
|
|
check:
|
|
name: DCO Check ("Signed-off-by")
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
- name: Set up Python 3.x
|
|
uses: actions/setup-python@v6
|
|
with:
|
|
python-version: '3.x'
|
|
- name: Check DCO
|
|
if: ${{ github.event_name == 'pull_request' }}
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
run: |
|
|
set -eufo pipefail
|
|
pip3 install -U dco-check
|
|
dco-check -e "49699333+dependabot[bot]@users.noreply.github.com"
|