mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-07 22:38:02 +03:00
feat: Dev Container (#1149)
* temporary dvctr * start of work * fix: timeouts in windows * fish? * feat: better, working stuff * refactor: rename database-seeds to seeds/ * better * fdsaf * feat: don't let our container get owned by root * fix: better user handling * feat: falling asleep at my desk i yield to you what i have done * feat: autoadminify * docs: denote trickshot * feat: open in browser on launch * better seeds workings... * fix: dont kill shell * docs: mention dev/debs * fix: whoops * fix: make seeds load within the century * feat: rest of the containerisation * feat: new alias * style: fix linter errors * fix: bad call * fix: better justfile
This commit is contained in:
@@ -29,7 +29,7 @@ function mkSeedDiffViewMsg(repo: string, sha: string, compareRepo: string, compa
|
||||
compareSHA,
|
||||
});
|
||||
|
||||
return `\nA commit has changed the database-seeds. [View the seeds diff here.](https://boku.tachi.ac/utils/seeds?${params.toString()})`;
|
||||
return `\nA commit has changed the seeds. [View the diff here.](https://boku.tachi.ac/utils/seeds?${params.toString()})`;
|
||||
}
|
||||
|
||||
function ConvertGitHubURL(url: string) {
|
||||
@@ -52,7 +52,7 @@ app.webhooks.on(["pull_request.opened", "pull_request.edited"], async ({ octokit
|
||||
).then((r) => r.json())) as Array<{ filename: string }>;
|
||||
|
||||
// if any file modified in this pr is a collection
|
||||
if (filesChanged.some((k) => k.filename.startsWith("database-seeds/collections"))) {
|
||||
if (filesChanged.some((k) => k.filename.startsWith("seeds/collections"))) {
|
||||
// post a link to the diff viewer in the PR comments.
|
||||
await sendMsg(
|
||||
mkSeedDiffViewMsg(
|
||||
|
||||
Reference in New Issue
Block a user