Skip to content

feat: absorb the dependency-gate action (re-target to master) - #3

Merged
jt-lumen merged 1 commit into
masterfrom
feat/dependency-gate-to-master
Sep 1, 2026
Merged

jt-lumen merged 1 commit into
masterfrom
feat/dependency-gate-to-master

Conversation

@jt-lumen

@jt-lumen jt-lumen commented Sep 1, 2026

Copy link
Copy Markdown
Collaborator

Re-lands #2. That PR was stacked on #1 and merged into its base branch, but #1 merged into master first — so the dependency-gate/ files ended up stranded on the merged docs/trim-readme branch and never reached master. Same commit, cherry-picked onto master.

Content is unchanged from #2. Re-verified on this branch: the parser suite passes invoked as CI invokes it, and all four workflows parse.

Moves velocity-exchange/dependency-gate in as dependency-gate/, so the org's
shared CI lives in one protected repo instead of two. It is a composite action
with a Python parser and no build artifact, so it relocates as plain files.

Relocation fixes, since everything in it assumed the repo root:
- `uses: ./` -> `uses: ./dependency-gate` (3 call sites)
- `lockfiles:` fixture paths gain the dependency-gate/ prefix
- `python3 tests/test_parser.py` and `open("action.yml")` gain the prefix;
  test_parser.py itself resolves fixtures from __file__, so it needed none
- its `push:` trigger was `[main]`; this repo's default branch is `master`
- both workflows renamed to dependency-gate-{test,selfgate}.yml and given
  distinct `name:`s, now that they share a repo

The action itself is unchanged; it locates its parser via $GITHUB_ACTION_PATH,
which already works from a subdirectory.

Verified: the full parser suite passes when invoked the way CI invokes it, and
action.yml still satisfies the contract its own CI asserts (composite, required
lockfiles input, the three outputs, every step bash, no Actions expressions
interpolated into run bodies).

Note the test workflow now carries paths filters. YAML anchors were NOT used to
share them - GitHub Actions does not support anchors, and a workflow using them
fails to parse.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@jt-lumen
jt-lumen merged commit d22dd02 into master Sep 1, 2026
8 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants