2023-10-06 06:36:46 +00:00
|
|
|
name: DCO action
|
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:
|
2024-04-09 11:56:18 +00:00
|
|
|
go-version: '1.21'
|
2023-06-27 13:46:52 +00:00
|
|
|
|
|
|
|
- name: Run commit format checker
|
2024-04-09 11:56:03 +00:00
|
|
|
uses: https://git.frostfs.info/TrueCloudLab/dco-go@v3
|
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 }}'
|