2023-06-27 13:46:52 +00:00
|
|
|
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.20'
|
|
|
|
|
|
|
|
- name: Run commit format checker
|
2023-10-05 13:16:55 +00:00
|
|
|
uses: https://git.frostfs.info/TrueCloudLab/dco-go@v2
|
2023-06-27 13:46:52 +00:00
|
|
|
with:
|
2023-10-05 13:16:55 +00:00
|
|
|
from: 'origin/${{ github.event.pull_request.base.ref }}'
|