V4.10.11 #487
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
| # | |
| # Copyright 2024-2025 the original author or authors. | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # https://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # Unless required by applicable law or agreed to in writing, software | |
| # distributed under the License is distributed on an "AS IS" BASIS, | |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| # See the License for the specific language governing permissions and | |
| # limitations under the License. | |
| # | |
| 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 | |
| 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/github-action@v2.3.1 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| # Empty CLA_REPO_ACCESS_TOKEN breaks the action (GitHub API 404). Same-repo storage | |
| # only needs GITHUB_TOKEN; set CLA_REPO_ACCESS_TOKEN when using remote-org/repo below. | |
| PERSONAL_ACCESS_TOKEN: ${{ secrets.CLA_REPO_ACCESS_TOKEN || secrets.GITHUB_TOKEN }} | |
| with: | |
| path-to-signatures: "signatures/cla.json" | |
| # Use github.com/blob/... form (documented in contributor-assistant/github-action). Raw.githubusercontent | |
| # URLs can trigger "Could not retrieve repository contents" (404) when the action parses the link. | |
| path-to-document: "https://github.com/${{ github.repository }}/blob/${{ github.event.repository.default_branch || 'main' }}/CLA.md" | |
| # Store signatures on the repo default branch (avoid mismatch if default is not main). | |
| branch: "${{ github.event.repository.default_branch || 'main' }}" | |
| allowlist: "bot*,dependabot*,*[bot],EvoltoStart,HunterPorter" | |
| # Store signatures in this repo so GITHUB_TOKEN can write (no PAT needed). | |
| # To use remote repo spring-ai-alibaba/cla instead, set CLA_REPO_ACCESS_TOKEN secret and uncomment below. | |
| # remote-organization-name: "spring-ai-alibaba" | |
| # remote-repository-name: "cla" | |
| lock-pullrequest-aftermerge: false | |
| # create-file-commit-message: 'Creating file for storing CLA Signatures' | |
| # signed-commit-message: '$contributorName has signed the CLA in #$pullRequestNo' | |
| # custom-notsigned-prcomment: 'Thanks for your contribution! Please sign our [Contributor License Agreement (CLA)](https://github.com/spring-ai-alibaba/Lynxe/blob/main/CLA.md) before we can merge your pull request. You can sign the CLA by posting a comment here with the following text: **I have read the CLA Document and I hereby sign the CLA**' | |
| # 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!' |