mirror of
https://github.com/ZwareBear/JFrog-Cloud-Installers.git
synced 2026-01-21 00:06:55 -06:00
Update cla.yml (#117)
This commit is contained in:
15
.github/workflows/cla.yml
vendored
15
.github/workflows/cla.yml
vendored
@@ -1,5 +1,6 @@
|
|||||||
name: "CLA Assistant"
|
name: "CLA Assistant"
|
||||||
on:
|
on:
|
||||||
|
# issue_comment triggers this action on each comment on issues and pull requests
|
||||||
issue_comment:
|
issue_comment:
|
||||||
types: [created]
|
types: [created]
|
||||||
pull_request_target:
|
pull_request_target:
|
||||||
@@ -9,10 +10,16 @@ jobs:
|
|||||||
CLAssistant:
|
CLAssistant:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- uses: actions-ecosystem/action-regex-match@v2
|
||||||
|
id: sign-or-recheck
|
||||||
|
with:
|
||||||
|
text: ${{ github.event.comment.body }}
|
||||||
|
regex: '\s*(I have read the CLA Document and I hereby sign the CLA)|(recheckcla)\s*'
|
||||||
|
|
||||||
- name: "CLA Assistant"
|
- 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'
|
if: ${{ steps.sign-or-recheck.outputs.match != '' || github.event_name == 'pull_request_target' }}
|
||||||
# Alpha Release
|
# Alpha Release
|
||||||
uses: cla-assistant/github-action@v2.0.1-alpha
|
uses: cla-assistant/github-action@v2.1.1-beta
|
||||||
env:
|
env:
|
||||||
# Generated and maintained by github
|
# Generated and maintained by github
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
@@ -20,9 +27,9 @@ jobs:
|
|||||||
PERSONAL_ACCESS_TOKEN : ${{ secrets.CLA_SIGN_TOKEN }}
|
PERSONAL_ACCESS_TOKEN : ${{ secrets.CLA_SIGN_TOKEN }}
|
||||||
with:
|
with:
|
||||||
path-to-signatures: 'signed_clas.json'
|
path-to-signatures: 'signed_clas.json'
|
||||||
path-to-cla-document: 'https://jfrog.com/cla/'
|
path-to-document: 'https://jfrog.com/cla/'
|
||||||
remote-organization-name: 'jfrog'
|
remote-organization-name: 'jfrog'
|
||||||
remote-repository-name: 'jfrog-signed-clas'
|
remote-repository-name: 'jfrog-signed-clas'
|
||||||
# branch should not be protected
|
# branch should not be protected
|
||||||
branch: 'master'
|
branch: 'master'
|
||||||
allowlist: bot*
|
allowlist: bot*
|
||||||
|
|||||||
Reference in New Issue
Block a user