summaryrefslogtreecommitdiff
path: root/.github/workflows/cla-check.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/cla-check.yaml')
-rw-r--r--.github/workflows/cla-check.yaml18
1 files changed, 3 insertions, 15 deletions
diff --git a/.github/workflows/cla-check.yaml b/.github/workflows/cla-check.yaml
index 6d1f4dea..cdb271af 100644
--- a/.github/workflows/cla-check.yaml
+++ b/.github/workflows/cla-check.yaml
@@ -3,19 +3,7 @@ on: [pull_request]
jobs:
cla-check:
- runs-on: ubuntu-18.04
+ runs-on: ubuntu-latest
steps:
- - name: Install dependencies
- run: |
- sudo apt-get update
- sudo apt-get install python3-launchpadlib git
- - name: Checkout code
- uses: actions/checkout@v2
- with:
- fetch-depth: 0
- # ensure we pull PR /head, not autogenerated /merge commit
- ref: ${{ github.event.pull_request.head.sha }}
- - name: Fetching base ref ${{ github.base_ref }}
- run: git fetch origin ${{ github.base_ref }}:${{ github.base_ref }}
- - name: Perform CLA check
- run: ./.github/workflows/tools/cla_check.py "${{ github.base_ref }}..HEAD"
+ - name: Check if CLA signed
+ uses: canonical/has-signed-canonical-cla@v1