-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdco_check.yml
32 lines (30 loc) · 916 Bytes
/
dco_check.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: "Lint PR"
on:
pull_request_target:
types:
- opened
- edited
- synchronize
jobs:
# https://github.com/cncf/dcochecker
dco-check:
name: DCO signoff check
# Security!
# https://securitylab.github.com/research/github-actions-preventing-pwn-requests/
permissions: read-all
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.x
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Check DCO
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DCO_CHECK_VERBOSE: '1'
# Comma-separated list of emails that should be ignored during DCO checks
# DCO_CHECK_EXCLUDE_EMAILS: ${{ inputs.exclude-emails }}
run: |
pip3 install -U git+https://github.com/aasseman/dco-check.git@pull_request_target_support
dco-check