Skip to content

Commit

Permalink
[backport] ci: add dco action (#475) (#478)
Browse files Browse the repository at this point in the history
ci: add dco action



ci: add dco action

Signed-off-by: Lin Yang <[email protected]>
  • Loading branch information
reaver-flomesh authored Nov 26, 2024
1 parent a6b4077 commit 275be10
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/dco.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: "DCO Check"

on:
pull_request:
branches:
- main
- release-v*
- release/v*

jobs:
dco-check:
name: "DCO Check"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.x
uses: actions/setup-python@v5
with:
python-version: '3.13'
- name: Check DCO
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DCO_CHECK_VERBOSE: '1'
run: |
pip3 install -U dco-check
dco-check

0 comments on commit 275be10

Please sign in to comment.