diff --git a/.github/workflows/frogbot.yml b/.github/workflows/frogbot.yml new file mode 100644 index 0000000000..ff249c0c73 --- /dev/null +++ b/.github/workflows/frogbot.yml @@ -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* diff --git a/npm-example/package.json b/npm-example/package.json index fb3158a09c..6e0559c034 100644 --- a/npm-example/package.json +++ b/npm-example/package.json @@ -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" } }