chore(release): version packages #113
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CLA Assistant | |
| on: | |
| issue_comment: | |
| types: [created] | |
| pull_request_target: | |
| types: [opened, closed, synchronize] | |
| # NOTE: Requires the repository secret `CLA_SIGNATURES_TOKEN` to be set — a | |
| # fine-grained personal access token with `contents: write` and `pull-requests: | |
| # write` on this repo. Without the secret, the job exits without blocking PRs, | |
| # giving us a graceful degradation window while the bot is being onboarded. | |
| permissions: | |
| actions: write | |
| contents: write | |
| pull-requests: write | |
| statuses: write | |
| jobs: | |
| cla-check: | |
| runs-on: ubuntu-latest | |
| # Only run on PR events or the signing comment — avoids chatter on every comment | |
| if: | | |
| github.event_name == 'pull_request_target' || | |
| (github.event_name == 'issue_comment' && | |
| (contains(github.event.comment.body, 'I have read the CLA Document and I hereby sign the CLA') || | |
| github.event.comment.body == 'recheck')) | |
| steps: | |
| - name: CLA Assistant | |
| uses: contributor-assistant/[email protected] | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| PERSONAL_ACCESS_TOKEN: ${{ secrets.CLA_SIGNATURES_TOKEN }} | |
| with: | |
| path-to-signatures: '.github/cla-signatures.json' | |
| path-to-document: 'https://github.com/Contentrain/ai/blob/main/CLA.md' | |
| branch: 'main' | |
| # Allowlist includes maintainers, bots, and dependabot so they bypass the CLA flow | |
| allowlist: 'ABB65,bayhanbayramoglu,Contentrain,*[bot],dependabot[bot],renovate[bot]' | |
| 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 ✓' |