Skip to content
35 changes: 35 additions & 0 deletions .github/workflows/frogbot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: "CLA Assistant"
on:
# issue_comment triggers this action on each comment on issues and pull requests
issue_comment:
types: [created]
pull_request_target:
types: [opened,synchronize]

jobs:
CLAssistant:
runs-on: ubuntu-latest
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"
if: ${{ steps.sign-or-recheck.outputs.match != '' || github.event_name == 'pull_request_target' }}
# Alpha Release
uses: cla-assistant/github-action@v2.1.1-beta
env:
# Generated and maintained by github
JF_GIT_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# JFrog organization secret
JF_ACCESS_TOKEN : ${{ secrets.CLA_SIGN_TOKEN }}
with:
path-to-signatures: 'signed_clas.json'
path-to-document: 'https://jfrog.com/cla/'
remote-organization-name: 'jfrog'
remote-repository-name: 'jfrog-signed-clas'
# branch should not be protected
branch: 'master'
allowlist: bot*
5 changes: 3 additions & 2 deletions npm-example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@
"start": "node helloworld"
},
"dependencies": {
"send": "^0.16.2"
"send": "0.11.0"
},
"devDependencies": {
"debug": "^4.1.1"
"debug": "2.0.0"
}
}

Loading