Skip to content

fix(action): reference a tag that exists - #20

Merged
royalpinto007 merged 2 commits into
mainfrom
fix/action-ref-v0
Aug 7, 2026
Merged

fix(action): reference a tag that exists#20
royalpinto007 merged 2 commits into
mainfrom
fix/action-ref-v0

Conversation

@royalpinto007

Copy link
Copy Markdown
Collaborator

The README and the example workflow both point at AgentPostmortem/evalgate@v1. That tag has never existed, so the action cannot resolve and the job dies at Set up job.

Consequences:

  • The evalgate workflow in this repo has never succeeded. Not once.
  • The README presents this snippet as something to drop into any consuming repo, so every person who copied it got a broken workflow.

Now points at @v0, and v0 is published as a moving major tag at main.

Chose v0 over v1 deliberately: the package is 0.1.1, and cutting a v1 action tag would advertise a stability guarantee that does not exist yet. Moving to @v1 is the right call at 1.0.

Also tagged v0.1.1, which was published to npm without a git tag.

Both the README and the example workflow told consumers to use
AgentPostmortem/evalgate@v1. No v1 tag has ever existed, so the job
failed at 'Set up job' before running anything, and the workflow in this
repo has never once succeeded. Anyone copying the README snippet, which
explicitly invites them to, got the same broken run.

Points at @v0 instead. A moving major tag is the Actions convention, and
v0 is the honest one to publish while the package is 0.1.x: cutting v1
would advertise a stability guarantee this does not have yet.

Also tags v0.1.1 to match the version already on npm, which shipped
without a git tag.
action.yml ran 'npx --yes evalgate@latest'. Our package is published as
@royalpinto007/evalgate, so the unscoped name resolves to an unrelated
package owned by someone else, currently evalgate@3.2.0.

That is why the gate failed even once the tag resolved: the other
package requires Node >=22 and imports node:sqlite, so it crashed with
ERR_UNKNOWN_BUILTIN_MODULE on the Node 20 runner.

The more serious half is supply chain. This action is documented as
something to drop into any consuming repo, so every consumer's CI was
downloading and executing a third party package we do not control, under
their GITHUB_TOKEN.

The README already uses the scoped name everywhere. Only action.yml was
wrong.
@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown

evalgate: support-agent

PASS - No regressions detected.

Overall score: 94.2% (base) -> 94.2% (head) = 0.0pp

Case Base Head Delta Change
greeting-exact 100.0% 100.0% 0.0pp flat
refund-intent-json 100.0% 100.0% 0.0pp flat
mentions-policy 100.0% 100.0% 0.0pp flat
order-id-format 100.0% 100.0% 0.0pp flat
paraphrase-quality 86.0% 86.0% 0.0pp flat
tone-rubric 100.0% 100.0% 0.0pp flat
judge-helpfulness 73.6% 73.6% 0.0pp flat

All cases unchanged.

tolerance 1.0% - worst case 0.0pp

Posted by evalgate - the build fails when your prompt gets dumber.

@royalpinto007
royalpinto007 merged commit a42bd9a into main Aug 7, 2026
3 checks passed
@royalpinto007
royalpinto007 deleted the fix/action-ref-v0 branch August 7, 2026 03:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant