2023-05-31 16:24:17 +00:00
|
|
|
on: [pull_request]
|
2021-05-21 15:45:01 +00:00
|
|
|
|
|
|
|
jobs:
|
2023-05-31 16:24:17 +00:00
|
|
|
dco:
|
|
|
|
name: DCO
|
2021-05-21 15:45:01 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-05-31 16:24:17 +00:00
|
|
|
- uses: actions/checkout@v3
|
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
|
|
|
|
|
|
|
- name: Setup Go
|
|
|
|
uses: actions/setup-go@v3
|
|
|
|
with:
|
2024-07-17 06:08:12 +00:00
|
|
|
go-version: '1.22'
|
2023-05-31 16:24:17 +00:00
|
|
|
|
|
|
|
- name: Run commit format checker
|
2024-01-26 08:29:26 +00:00
|
|
|
uses: https://git.frostfs.info/TrueCloudLab/dco-go@v3
|
2023-05-31 16:24:17 +00:00
|
|
|
with:
|
2024-01-26 08:36:50 +00:00
|
|
|
from: 'origin/${{ github.event.pull_request.base.ref }}'
|