chore(quality): provider fixtures, formatter snapshots, platform contract tests, CI, CodeQL, dependabot

This commit is contained in:
RhenCloud 2026-08-15 17:30:51 +08:00
parent 04fa52db52
commit 320e825bf8
No known key found for this signature in database
GPG key ID: A574A617378C4E0B
15 changed files with 405 additions and 3 deletions

20
tests/fixtures/gitea.ts vendored Normal file
View file

@ -0,0 +1,20 @@
export const giteaPush: Record<string, unknown> = {
ref: "refs/heads/main",
before: "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
after: "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
compare_url: "https://git.example.com/acme/widget/compare/aaa...bbb",
commits: [
{
id: "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
message: "Fix login bug",
url: "https://git.example.com/acme/widget/commit/bbb",
timestamp: "2026-08-15T00:00:00Z",
author: { name: "Octocat", username: "octocat" },
},
],
repository: {
full_name: "acme/widget",
html_url: "https://git.example.com/acme/widget",
},
pusher: { login: "octocat" },
};