From 1144a480e11c7a234cc1df8feeed2623a3263982 Mon Sep 17 00:00:00 2001 From: Simon Deziel Date: Tue, 30 Jan 2024 09:35:11 -0500 Subject: [PATCH 1/2] github: the CLA check already exempts bots https://github.com/canonical/has-signed-canonical-cla?tab=readme-ov-file#exempted-bots Signed-off-by: Simon Deziel --- .github/workflows/commits.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/commits.yml b/.github/workflows/commits.yml index 579f10fdce7b..9096882610a9 100644 --- a/.github/workflows/commits.yml +++ b/.github/workflows/commits.yml @@ -24,7 +24,6 @@ jobs: commits: ${{ steps.get-pr-commits.outputs.commits }} - name: Check if CLA signed - if: ${{ github.actor != 'dependabot[bot]' }} uses: canonical/has-signed-canonical-cla@v1 - name: Check branch target From 9a52a792d03fffc770273c76464968fad9438fc7 Mon Sep 17 00:00:00 2001 From: Simon Deziel Date: Tue, 30 Jan 2024 09:37:25 -0500 Subject: [PATCH 2/2] github: exempts Apache-2.0 contributions from CLA signing This is meant as a temporary solution until those are resolved: https://github.com/canonical/has-signed-canonical-cla/issues/34 https://github.com/canonical/has-signed-canonical-cla/pull/35 Signed-off-by: Simon Deziel --- .github/workflows/commits.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/commits.yml b/.github/workflows/commits.yml index 9096882610a9..003013c6e1d7 100644 --- a/.github/workflows/commits.yml +++ b/.github/workflows/commits.yml @@ -24,7 +24,7 @@ jobs: commits: ${{ steps.get-pr-commits.outputs.commits }} - name: Check if CLA signed - uses: canonical/has-signed-canonical-cla@v1 + uses: simondeziel/has-signed-canonical-cla@implicit-approval-from-licenses - name: Check branch target env: