2021-10-12 15:31:18 +00:00
|
|
|
name: DCO
|
2024-02-28 09:49:28 +00:00
|
|
|
on: [pull_request, merge_group]
|
|
|
|
|
2021-10-12 15:31:18 +00:00
|
|
|
jobs:
|
|
|
|
check:
|
2024-02-28 09:51:12 +00:00
|
|
|
name: DCO Check ("Signed-Off-By")
|
2021-10-12 15:31:18 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-12-11 11:56:22 +00:00
|
|
|
- uses: actions/checkout@v4
|
2021-10-12 15:31:18 +00:00
|
|
|
- name: Set up Python 3.x
|
|
|
|
uses: actions/setup-python@v1
|
|
|
|
with:
|
|
|
|
python-version: '3.x'
|
|
|
|
- name: Check DCO
|
2024-02-28 13:50:42 +00:00
|
|
|
if: ${{ github.event_name == 'pull_request' }}
|
2021-10-12 15:31:18 +00:00
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
run: |
|
|
|
|
pip3 install -U dco-check
|
2021-10-21 08:24:11 +00:00
|
|
|
dco-check -e "49699333+dependabot[bot]@users.noreply.github.com"
|