Commit 24f6c1f
ci(dco): add DCO enforcement workflow (#425)
* ci(dco): add DCO enforcement workflow
## Summary
Add Developer Certificate of Origin (DCO) check for all pull requests
using dco-check (PyPI) with SHA-pinned actions and hash-verified pip install.
## Changes
- Add .github/workflows/dco.yml with dco-check==0.5.0 (hash-pinned)
- Add DCO section to CONTRIBUTING.md with sign-off instructions
- Add --signoff requirement to AGENTS.md Key Constraints
Signed-off-by: Null;Variant <null@nullvariant.com>
🖥️ IDE: [Cursor](https://cursor.sh)
🔌 Extension: [Claude Code](https://claude.ai/download)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Model-Raw: claude-opus-4-6
* fix(ci): use requirements file for pip hash verification
## Summary
Fix DCO Check workflow failure. pip's --hash option is only available
via requirements files, not as a CLI argument.
## Changes
- Write requirements to temp file with hash, then install via -r flag
Signed-off-by: Null;Variant <null@nullvariant.com>
🖥️ IDE: [Cursor](https://cursor.sh)
🔌 Extension: [Claude Code](https://claude.ai/download)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Model-Raw: claude-opus-4-6
* fix(ci): add GITHUB_TOKEN env for dco-check
## Summary
dco-check requires GITHUB_TOKEN to fetch PR commit data via GitHub API.
## Changes
- Add GITHUB_TOKEN env to Run DCO Check step
Signed-off-by: Null;Variant <null@nullvariant.com>
🖥️ IDE: [Cursor](https://cursor.sh)
🔌 Extension: [Claude Code](https://claude.ai/download)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Model-Raw: claude-opus-4-6
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent 2abbe92 commit 24f6c1f
4 files changed
Lines changed: 74 additions & 4 deletions
File tree
- .github/workflows
- extensions/git-id-switcher/src/ui
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
16 | 46 | | |
17 | 47 | | |
18 | 48 | | |
19 | 49 | | |
20 | 50 | | |
21 | 51 | | |
22 | | - | |
| 52 | + | |
23 | 53 | | |
24 | 54 | | |
25 | | - | |
| 55 | + | |
26 | 56 | | |
27 | 57 | | |
28 | 58 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
0 commit comments