From 81274dd690e9660f4e7a66ee6ea3f377985c3d3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Vl=C4=8Dek?= Date: Wed, 9 Aug 2023 19:04:12 +0200 Subject: [PATCH] Use different DCO action implementation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Switching from to . While both implementations look very similar there are some differences: - The later implementation does not require use of additional action to pull PR commits because it does not rely on `commits` being setup in `core` context. - The later implementation is explicit about its LICENSE (AL2). Signed-off-by: Lukáš Vlček --- .github/workflows/dco.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.github/workflows/dco.yml b/.github/workflows/dco.yml index 6ea5b67..87a6465 100644 --- a/.github/workflows/dco.yml +++ b/.github/workflows/dco.yml @@ -10,12 +10,5 @@ jobs: pull-requests: read steps: - - name: Get PR Commits - id: 'get-pr-commits' - uses: tim-actions/get-pr-commits@v1.3.0 - with: - token: ${{ secrets.GITHUB_TOKEN }} - name: DCO Check - uses: tim-actions/dco@v1.1.0 - with: - commits: ${{ steps.get-pr-commits.outputs.commits }} + uses: tisonkun/actions-dco@v1.1