# .github/workflows/dco.yml name: DCO on: pull_request: push: branches: - main permissions: read-all jobs: check: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Set up Python 3.x uses: actions/setup-python@v1 with: python-version: '3.x' - name: Check DCO env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | pip3 install -U dco-check dco-check