mirror of
https://github.com/ReCloudStudio/WebHooker.git
synced 2026-09-23 00:21:28 +00:00
chore(quality): provider fixtures, formatter snapshots, platform contract tests, CI, CodeQL, dependabot
This commit is contained in:
parent
04fa52db52
commit
320e825bf8
15 changed files with 405 additions and 3 deletions
20
tests/fixtures/gitea.ts
vendored
Normal file
20
tests/fixtures/gitea.ts
vendored
Normal 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" },
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue