Return non-zero exit code in case of errors #3120
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: cla-check | |
on: | |
pull_request: | |
branches: | |
- main | |
- 'release-[0-9]+.[0-9]+' | |
permissions: | |
contents: read | |
jobs: | |
cla-check: | |
permissions: | |
pull-requests: write # for canonical/has-signed-canonical-cla to create & update comments | |
runs-on: ubuntu-latest | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@v2 | |
with: | |
egress-policy: audit | |
- name: Check if CLA signed | |
uses: canonical/has-signed-canonical-cla@v1 |