github.com/snowflakedb/gosnowflake@v1.9.0/.github/workflows/cla_bot.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  jobs:
     9    CLAAssistant:
    10      runs-on: ubuntu-latest
    11      permissions:
    12        actions: write
    13        contents: write
    14        pull-requests: write
    15        statuses: write
    16      steps:
    17        - name: "CLA Assistant"
    18          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'
    19          uses: contributor-assistant/github-action/@master
    20          env:
    21            GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
    22            PERSONAL_ACCESS_TOKEN : ${{ secrets.CLA_BOT_TOKEN }}
    23          with:
    24            path-to-signatures: 'signatures/version1.json'
    25            path-to-document: 'https://github.com/snowflakedb/CLA/blob/main/README.md'
    26            branch: 'main'
    27            allowlist: 'dependabot[bot],github-actions,Jenkins User,_jenkins,sfc-gh-snyk-sca-sa,snyk-bot'
    28            remote-organization-name: 'snowflakedb'
    29            remote-repository-name: 'cla-db'