From bf793c27ad4e7c284f4a9b2d199fbc360252d078 Mon Sep 17 00:00:00 2001 From: Evgenii Stratonikov Date: Fri, 26 Jan 2024 11:29:26 +0300 Subject: [PATCH 1/2] [#297] .forgejo: Update dco-go to v3 Signed-off-by: Evgenii Stratonikov --- .forgejo/workflows/dco.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/dco.yml b/.forgejo/workflows/dco.yml index a32f978..92ec29a 100644 --- a/.forgejo/workflows/dco.yml +++ b/.forgejo/workflows/dco.yml @@ -15,6 +15,6 @@ jobs: go-version: '1.21' - name: Run commit format checker - uses: https://git.frostfs.info/TrueCloudLab/dco-go@v1 + uses: https://git.frostfs.info/TrueCloudLab/dco-go@v3 with: from: 3fbad97a -- 2.45.2 From d52db1157a474dba8231171df1b711b42891d5e3 Mon Sep 17 00:00:00 2001 From: Evgenii Stratonikov Date: Fri, 26 Jan 2024 11:36:50 +0300 Subject: [PATCH 2/2] [#297] .forgejo: Check only PR commits in dco-go Signed-off-by: Evgenii Stratonikov --- .forgejo/workflows/dco.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/dco.yml b/.forgejo/workflows/dco.yml index 92ec29a..eb23ec5 100644 --- a/.forgejo/workflows/dco.yml +++ b/.forgejo/workflows/dco.yml @@ -17,4 +17,4 @@ jobs: - name: Run commit format checker uses: https://git.frostfs.info/TrueCloudLab/dco-go@v3 with: - from: 3fbad97a + from: 'origin/${{ github.event.pull_request.base.ref }}' -- 2.45.2