github.com/jfrog/jfrog-cli-core/v2@v2.51.0/.github/workflows/cla.yml (about) 1 name: "CLA Assistant" 2 on: 3 # issue_comment triggers this action on each comment on issues and pull requests 4 issue_comment: 5 types: [ created ] 6 pull_request_target: 7 types: [ opened,synchronize ] 8 9 jobs: 10 CLAssistant: 11 runs-on: ubuntu-latest 12 steps: 13 - uses: actions-ecosystem/action-regex-match@v2 14 id: sign-or-recheck 15 with: 16 text: ${{ github.event.comment.body }} 17 regex: '\s*(I have read the CLA Document and I hereby sign the CLA)|(recheck)\s*' 18 19 - name: "CLA Assistant" 20 if: ${{ steps.sign-or-recheck.outputs.match != '' || github.event_name == 'pull_request_target' }} 21 # Alpha Release 22 uses: cla-assistant/github-action@v2.3.0 23 env: 24 # Generated and maintained by GitHub 25 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 26 # JFrog organization secret 27 PERSONAL_ACCESS_TOKEN: ${{ secrets.CLA_SIGN_TOKEN }} 28 with: 29 path-to-signatures: 'signed_clas.json' 30 path-to-document: 'https://jfrog.com/cla/' 31 remote-organization-name: 'jfrog' 32 remote-repository-name: 'jfrog-signed-clas' 33 # branch should not be protected 34 branch: 'master' 35 allowlist: bot*