Skip to content

Add job setup script with directory structure #83

Add job setup script with directory structure

Add job setup script with directory structure #83

Workflow file for this run

name: "CLA Assistant"
on:
issue_comment:
types: [created]
pull_request_target:
types: [opened, closed, synchronize]
# Explicitly set permissions for the workflow
permissions:
actions: write
contents: write
pull-requests: write
statuses: write
jobs:
cla-check:
runs-on: ubuntu-latest
steps:
- name: "CLA Assistant"
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'
uses: contributor-assistant/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# This should be a Personal Access Token with repo scope
PERSONAL_ACCESS_TOKEN: ${{ secrets.CLA_ASSISTANT_PAT }}
with:
path-to-signatures: 'CLA/version_1/CLA_SIGNATORIES.md'
path-to-document: 'https://github.com/${{ github.repository }}/blob/main/CLA/version_1/CLA.md'
# Branch where CLA signatures will be stored
branch: 'IMPT_cla_signatures'
allowlist: 'dependabot[bot],github-actions[bot],claude,copilot'
# Custom text for the CLA comment
custom-pr-sign-comment: 'I have read the CLA Document and I hereby sign the CLA'
custom-allsigned-prcomment: 'All contributors have signed the CLA. ✅'
lock-pullrequest-aftermerge: false
use-dco-flag: true