2023-07-11 10:48:27 +00:00
|
|
|
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:
|
2024-02-08 16:14:10 +00:00
|
|
|
go-version: '1.22'
|
2023-07-11 10:48:27 +00:00
|
|
|
|
|
|
|
- name: Run commit format checker
|
2024-01-26 09:18:51 +00:00
|
|
|
uses: https://git.frostfs.info/TrueCloudLab/dco-go@v3
|
2023-07-11 10:48:27 +00:00
|
|
|
with:
|
|
|
|
from: 'origin/${{ github.event.pull_request.base.ref }}'
|