fix(ci): add escapes for [ and ] to allow renovatebot trigger mock-rock #998
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] | |
jobs: | |
cla-check: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Check if CLA signed | |
uses: canonical/has-signed-canonical-cla@v1 | |
with: | |
# This is to avoid failing the checks for ROCKsBot | |
accept-existing-contributors: true | |
update-pr: | |
runs-on: ubuntu-22.04 | |
name: Add comment to PR | |
needs: [cla-check] | |
if: ${{ always() && contains(needs.*.result, 'failure') }} | |
steps: | |
- name: Comment PR | |
uses: thollander/actions-comment-pull-request@v2 | |
with: | |
message: | | |
@${{ github.actor }} please make sure all PR contributors have signed the CLA. | |
comment_tag: cla-check | |
mode: recreate |