Repository navigation
chore(conduit): enroll project in OSS Scanner #1219
Workflow file for this run
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" | ||
|
Check warning on line 1 in .github/workflows/cla.yaml
|
||
| on: | ||
| issue_comment: | ||
| types: [created] | ||
| pull_request_target: | ||
| types: [opened, closed, reopened, synchronize] | ||
| permissions: | ||
| actions: write | ||
| checks: read | ||
| contents: write | ||
| pull-requests: write | ||
| statuses: write | ||
| jobs: | ||
| CLAAssistant: | ||
| runs-on: ubuntu-latest | ||
| timeout-minutes: 5 | ||
| steps: | ||
| - name: "CLA Assistant" | ||
| # contains() rather than == so the action also fires when the sign | ||
| # phrase or `recheck` is accompanied by a small amount of extra text; | ||
| # the action itself enforces the precise matching policy. | ||
| if: github.event_name == 'pull_request_target' || contains(github.event.comment.body, 'recheck') || contains(github.event.comment.body, 'I have read the CLA Document and I hereby sign the CLA') | ||
| # Upstream contributor-assistant/github-action was archived 2026-03-23 | ||
| # still on Node 20 (deprecated 2026-06-02). This fork bumps to Node 24 | ||
| # and adds: an impersonation guard (PR opener must be an author or | ||
| # co-author of at least one commit), Co-authored-by trailer support, | ||
| # email-based allowlist matching, automatic retry of transient | ||
| # GitHub 5xx errors, and actionable unlinked-email guidance. | ||
| uses: iainmcgin/cla-github-action@0d27e5a16278d4adb6b0c4b92f08ad27b0a21dc8 # v3.2.0 (sha-pinned) | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| with: | ||
| path-to-document: "https://github.com/${{ github.repository }}/blob/${{ github.event.repository.default_branch }}/CLA.md" | ||
| path-to-signatures: "signatures/cla.json" | ||
| branch: "cla-signatures" | ||
| # noreply@anthropic.com is the email AI assistants use on Co-authored-by | ||
| # trailers; allowlisting it suppresses that synthetic co-author, and the | ||
| # PR opener still has to sign. Bots cannot sign a CLA. | ||
| allowlist: "carlini,srxzr-ant,punitshah,dependabot[bot],github-actions[bot],noreply@anthropic.com" | ||