policy-engine/.forgejo/workflows/dco.yml
Evgenii Stratonikov 8dc9d9fa58
All checks were successful
DCO action / DCO (pull_request) Successful in 43s
Tests and linters / Tests (1.20) (pull_request) Successful in 53s
Tests and linters / Tests (1.21) (pull_request) Successful in 49s
Tests and linters / Staticcheck (pull_request) Successful in 59s
Tests and linters / Tests with -race (pull_request) Successful in 1m14s
Tests and linters / Lint (pull_request) Successful in 1m55s
[#14] .forgejo: Add tests and lint workflows
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-11-01 11:18:57 +03:00

21 lines
460 B
YAML

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:
go-version: '1.21'
- name: Run commit format checker
uses: https://git.frostfs.info/TrueCloudLab/dco-go@v2
with:
from: 'origin/${{ github.event.pull_request.base.ref }}'