Skip to content
This repository was archived by the owner on Mar 15, 2026. It is now read-only.

Commit 04fd0c7

Browse files
bokelleyclaude
andauthored
feat: add IPR agreement workflow using centralized AdCP signatures (#49)
Implements automated IPR policy agreement checking for pull requests, storing signatures centrally in adcontextprotocol/adcp repository so contributors sign once across all org repos. Closes #38 Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 0b41f3a commit 04fd0c7

1 file changed

Lines changed: 56 additions & 0 deletions

File tree

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
name: IPR Agreement
2+
3+
on:
4+
issue_comment:
5+
types: [created]
6+
pull_request_target:
7+
types: [opened, closed, synchronize]
8+
9+
permissions:
10+
actions: write
11+
contents: read
12+
pull-requests: write
13+
statuses: write
14+
15+
jobs:
16+
ipr-check:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: CLA Assistant
20+
if: (github.event.comment.body == 'I have read the IPR Policy' || github.event_name == 'pull_request_target')
21+
uses: contributor-assistant/github-action@v2.6.1
22+
env:
23+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24+
PERSONAL_ACCESS_TOKEN: ${{ secrets.IPR_PAT }}
25+
with:
26+
path-to-signatures: 'signatures/ipr-signatures.json'
27+
path-to-document: 'https://github.com/adcontextprotocol/adcp/blob/main/IPR_POLICY.md'
28+
branch: 'main'
29+
remote-organization-name: 'adcontextprotocol'
30+
remote-repository-name: 'adcp'
31+
allowlist: 'bot*,dependabot*,renovate*,github-actions*'
32+
33+
custom-notsigned-prcomment: |
34+
## IPR Policy Agreement Required
35+
Thank you for your contribution! Before we can accept your pull request, you must agree to our [Intellectual Property Rights Policy](https://github.com/adcontextprotocol/adcp/blob/main/IPR_POLICY.md).
36+
37+
By making a Contribution, you agree that:
38+
- You grant the Foundation a perpetual, irrevocable, worldwide, non-exclusive, royalty-free copyright license to your Contribution
39+
- You grant a patent license under any Necessary Claims
40+
- You represent that you own or have sufficient rights to grant these licenses
41+
42+
**To agree, please comment below with the exact phrase:**
43+
44+
```
45+
I have read the IPR Policy
46+
```
47+
48+
You can read the full [IPR Policy here](https://github.com/adcontextprotocol/adcp/blob/main/IPR_POLICY.md).
49+
50+
custom-pr-sign-comment: 'I have read the IPR Policy'
51+
52+
custom-allsigned-prcomment: |
53+
All contributors have agreed to the [IPR Policy](https://github.com/adcontextprotocol/adcp/blob/main/IPR_POLICY.md). Thank you!
54+
55+
lock-pullrequest-aftermerge: false
56+
use-dco-flag: false

0 commit comments

Comments
 (0)