mirror of
https://github.com/ZwareBear/JFrog-Cloud-Installers.git
synced 2026-01-21 06:06:56 -06:00
Add CLA Assistant GitHub Action
This commit is contained in:
28
.github/workflows/cla.yml
vendored
Normal file
28
.github/workflows/cla.yml
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
name: "CLA Assistant"
|
||||
on:
|
||||
issue_comment:
|
||||
types: [created]
|
||||
pull_request_target:
|
||||
types: [opened,synchronize]
|
||||
|
||||
jobs:
|
||||
CLAssistant:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: "CLA Assistant"
|
||||
if: (github.event.comment.body == 'recheckcla' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target'
|
||||
# Alpha Release
|
||||
uses: cla-assistant/github-action@v2.0.1-alpha
|
||||
env:
|
||||
# Generated and maintained by github
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
# JFrog organization secret
|
||||
PERSONAL_ACCESS_TOKEN : ${{ secrets.CLA_SIGN_TOKEN }}
|
||||
with:
|
||||
path-to-signatures: 'signed_clas.json'
|
||||
path-to-cla-document: 'https://jfrog.com/privacy-policy/cla/'
|
||||
remote-organization-name: 'jfrog'
|
||||
remote-repository-name: 'jfrog-signed-clas'
|
||||
# branch should not be protected
|
||||
branch: 'master'
|
||||
allowlist: bot*
|
||||
Reference in New Issue
Block a user