2021-10-13 22:18:20 -05:00
|
|
|
# .github/workflows/dco.yml
|
|
|
|
name: DCO
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
branches:
|
2021-10-21 13:13:14 -05:00
|
|
|
- main
|
2022-07-11 14:54:49 -05:00
|
|
|
|
|
|
|
permissions: read-all
|
|
|
|
|
2021-10-13 22:18:20 -05:00
|
|
|
jobs:
|
|
|
|
check:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-07-13 16:15:33 -05:00
|
|
|
- uses: actions/checkout@v3
|
2021-10-13 22:18:20 -05:00
|
|
|
- name: Set up Python 3.x
|
2022-07-13 16:15:33 -05:00
|
|
|
uses: actions/setup-python@v4
|
2021-10-13 22:18:20 -05:00
|
|
|
with:
|
|
|
|
python-version: '3.x'
|
|
|
|
- name: Check DCO
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
run: |
|
|
|
|
pip3 install -U dco-check
|
|
|
|
dco-check
|