Skip to content

[DXP-1363] Adjust to new search endpoint #177

[DXP-1363] Adjust to new search endpoint

[DXP-1363] Adjust to new search endpoint #177

# Copyright (C) 2022 Dynamic Solutions
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
name: 'Helper: CLA Assistant'
on:
issue_comment:
types: [created]
pull_request_target:
types: [opened,closed,synchronize]
jobs:
check-cla-signature:
runs-on: ubuntu-latest
steps:
- name: 'Check Contributor License Agreement signature'
if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target'
uses: contributor-assistant/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PERSONAL_ACCESS_TOKEN : ${{ secrets.PERSONAL_ACCESS_TOKEN }}
with:
path-to-signatures: '.github/signatures/v1/cla.json'
branch: 'main'
allowlist: user1,bot*
create-file-commit-message: 'Creating file for storing individual CLA Signatures'
signed-commit-message: '$contributorName has signed the individual CLA in #$pullRequestNo'
custom-notsigned-prcomment: 'You must sign a [Contributor License Agreement](https://github.com/websight-io/websight-blueprint/blob/main/CONTRIBUTING.md#contributor-license-agreement-cla) (CLA) to accept your pull request. You only need to do this once. If you submit a pull request for the first time, our CLA bot will automatically ask you to sign before merging the pull request.'
custom-pr-sign-comment: 'I have read the Dynamic Solutions Individual Contributor License Agreement (CLA) Document and I hereby sign the CLA'
custom-allsigned-prcomment: '**CLA bot** All Contributors have signed the [Dynamic Solutions Individual Contributor License Agreement](https://docs.websight.io/product/cla/individual/v1/)'
lock-pullrequest-aftermerge: true