20 lines
458 B
YAML
20 lines
458 B
YAML
|
name: DCO action
|
||
|
on: [pull_request]
|
||
|
|
||
|
jobs:
|
||
|
dco:
|
||
|
name: DCO
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- uses: actions/checkout@v3
|
||
|
with:
|
||
|
fetch-depth: 0
|
||
|
- name: Setup Go
|
||
|
uses: actions/setup-go@v3
|
||
|
with:
|
||
|
go-version: '1.22'
|
||
|
- name: Run commit format checker
|
||
|
uses: https://git.frostfs.info/TrueCloudLab/dco-go@v3
|
||
|
with:
|
||
|
from: 'origin/${{ github.event.pull_request.base.ref }}'
|