WS-3234 Migrate module to GH and configure GCP artifacts registry for… #10
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
# 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: "CLA Assistant" | |
on: | |
issue_comment: | |
types: [created] | |
pull_request_target: | |
types: [opened,closed,synchronize] | |
jobs: | |
CLAssistant: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "CLA Assistant" | |
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/github-action@v2.2.0 | |
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-bundle-resource-provider/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://www.websight.io/product/cla/individual/v1/)' | |
lock-pullrequest-aftermerge: true |