2023-10-19 08:41:44 +00:00
|
|
|
name: DCO action
|
|
|
|
on: [pull_request]
|
2022-05-31 13:37:51 +00:00
|
|
|
|
|
|
|
jobs:
|
2023-10-19 08:41:44 +00:00
|
|
|
dco:
|
|
|
|
name: DCO
|
2022-05-31 13:37:51 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-10-19 08:41:44 +00:00
|
|
|
- uses: actions/checkout@v3
|
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
|
|
|
|
|
|
|
- name: Setup Go
|
|
|
|
uses: actions/setup-go@v3
|
2022-05-31 13:37:51 +00:00
|
|
|
with:
|
2023-10-19 08:41:44 +00:00
|
|
|
go-version: '1.21'
|
|
|
|
|
|
|
|
- name: Run commit format checker
|
|
|
|
uses: https://git.frostfs.info/TrueCloudLab/dco-go@v2
|
2022-05-31 13:37:51 +00:00
|
|
|
with:
|
2023-10-19 08:41:44 +00:00
|
|
|
from: 'origin/${{ github.event.pull_request.base.ref }}'
|