docs!: create docs and readme. #485
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@v3 | |
- 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_EXCLUDE_PATTERN: (dependabot|semiotic-labs-pr-automation)\[bot\]@users\.noreply\.github\.com | |
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 dco-check | |
dco-check |