Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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*
13 changes: 4 additions & 9 deletions npm-example/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
{
"name": "npm-example",
"version": "0.0.3",
"scripts": {
"start": "node helloworld"
},
"name": "my-project",
"version": "1.0.0",
"dependencies": {
"send": "^0.16.2"
},
"devDependencies": {
"debug": "^4.1.1"
"lodash": "4.17.15",
"debug": "4.4.2"
}
}