github.com/greenpau/go-authcrunch@v1.1.4/.github/workflows/cla.yml (about)

     1  name: "CLA Assistant"
     2  on:
     3    issue_comment:
     4      types: [created]
     5    pull_request_target:
     6      types: [opened,closed,synchronize]
     7  
     8  permissions:
     9    actions: write
    10    contents: write
    11    pull-requests: write
    12    statuses: write
    13  
    14  jobs:
    15    CLAAssistant:
    16      runs-on: ubuntu-latest
    17      steps:
    18        - name: "CLA Assistant"
    19          if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target'
    20          uses: contributor-assistant/github-action@v2.3.1
    21          env:
    22            GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
    23          with:
    24            path-to-signatures: 'assets/cla/signatures.json'
    25            path-to-document: 'https://github.com/greenpau/go-authcrunch/blob/main/assets/cla/CLA.md'
    26            branch: 'main'
    27            allowlist: greenpau,bot*