mirror of
https://github.com/anchore/syft
synced 2024-11-10 06:14:16 +00:00
use dco tool during gh app outage (#2926)
Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
This commit is contained in:
parent
fe0b78b7fe
commit
2f39322f81
1 changed files with 23 additions and 0 deletions
23
.github/workflows/dco.yaml
vendored
Normal file
23
.github/workflows/dco.yaml
vendored
Normal file
|
@ -0,0 +1,23 @@
|
|||
name: DCO
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
jobs:
|
||||
check:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Python 3.x
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.x'
|
||||
|
||||
- name: Check DCO
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
pip3 install -U dco-check
|
||||
dco-check --verbose --exclude-pattern 'dependabot\[bot\]@users\.noreply\.github\.com'
|
Loading…
Reference in a new issue