mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-11-09 21:30:07 +00:00
96cc1ba76c
The DCO tool doesn't understand merge_groups but we still need to have a valid status check to allow the merge group to proceed. Signed-off-by: Rob Bradford <rbradford@rivosinc.com>
21 lines
530 B
YAML
21 lines
530 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@v4
|
|
- name: Set up Python 3.x
|
|
uses: actions/setup-python@v1
|
|
with:
|
|
python-version: '3.x'
|
|
- name: Check DCO
|
|
if: ${{ github.event_name == 'pull_request' }}
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
run: |
|
|
pip3 install -U dco-check
|
|
dco-check -e "49699333+dependabot[bot]@users.noreply.github.com"
|