mirror of
https://github.com/browseros-ai/BrowserOS.git
synced 2026-05-13 23:53:25 +00:00
59 lines
2.3 KiB
YAML
59 lines
2.3 KiB
YAML
name: CLA Assistant
|
|
|
|
on:
|
|
issue_comment:
|
|
types: [created]
|
|
pull_request_target:
|
|
types: [opened, closed, synchronize]
|
|
|
|
permissions:
|
|
actions: write
|
|
contents: write
|
|
pull-requests: write
|
|
statuses: write
|
|
|
|
jobs:
|
|
cla:
|
|
runs-on: ubuntu-latest
|
|
if: |
|
|
(github.event_name == 'pull_request_target') ||
|
|
(github.event_name == 'issue_comment' && github.event.issue.pull_request &&
|
|
(github.event.comment.body == 'recheck' ||
|
|
github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA'))
|
|
steps:
|
|
- name: CLA Assistant
|
|
uses: contributor-assistant/github-action@v2.6.1
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
PERSONAL_ACCESS_TOKEN: ${{ secrets.CLA_SIGNATURES_TOKEN }}
|
|
with:
|
|
path-to-signatures: 'cla-signatures.json'
|
|
path-to-document: 'https://github.com/${{ github.repository }}/blob/main/CLA.md'
|
|
branch: 'main'
|
|
remote-organization-name: 'browseros-ai'
|
|
remote-repository-name: 'cla-signatures'
|
|
allowlist: 'shadowfax92,felarof99,bot*,*[bot],dependabot,renovate,github-actions,snyk-bot,imgbot,greenkeeper,semantic-release-bot,allcontributors'
|
|
lock-pullrequest-aftermerge: false
|
|
custom-notsigned-prcomment: |
|
|
Thank you for your contribution! Before we can merge this PR, we need you to sign our [Contributor License Agreement](https://github.com/${{ github.repository }}/blob/main/CLA.md).
|
|
|
|
**To sign the CLA**, please add a comment to this PR with the following text:
|
|
|
|
```
|
|
I have read the CLA Document and I hereby sign the CLA
|
|
```
|
|
|
|
You only need to sign once. After signing, this check will pass automatically.
|
|
|
|
---
|
|
<details>
|
|
<summary>Troubleshooting</summary>
|
|
|
|
- **Already signed but still failing?** Comment `recheck` to trigger a re-verification.
|
|
- **Signed with a different email?** Make sure your commit email matches your GitHub account email, or add your commit email to your GitHub account.
|
|
|
|
</details>
|
|
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. Thank you!
|