Commit f72f743
chore(ci): Vendor nx-affected-list action, drop dkhunt27 dependency (#20463)
## Summary
Replace the third-party `dkhunt27/action-nx-affected-list@v6.1` with a
vendored composite action at `.github/actions/nx-affected-list/`.
**Why:**
- The external action is outdated (last release Sep 2024) and uses
Node.js 20 (GHA deprecation warning)
- It's a heavy wrapper (~200 lines of compiled JS) around a single
command: `nx show projects --affected`
- Third-party CI dependencies are a supply chain risk
**What the external action did:**
1. `nx --version` + `nx reset` (prep)
2. `nx show projects --affected --base=X --head=Y` (core logic)
3. Parse output into a list, set as action output
**What the vendored action does:**
- Runs `nx show projects --affected` directly in bash (~15 lines)
- Outputs space-separated project names (compatible with existing
`contains()` checks)
- No Node.js runtime dependency, no `nx reset` (unnecessary in our
setup)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 6c2e062 commit f72f743
2 files changed
Lines changed: 41 additions & 1 deletion
| 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 | + | |
| 40 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
| 103 | + | |
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| |||
0 commit comments