Fix Gitea checks after kit application
This commit is contained in:
@@ -21,7 +21,6 @@ jobs:
|
||||
missing=0
|
||||
|
||||
required_files=(
|
||||
"AGENTS.md"
|
||||
".codex/project.md"
|
||||
"README.md"
|
||||
)
|
||||
@@ -32,6 +31,11 @@ jobs:
|
||||
"docs/agent-handoff.md"
|
||||
)
|
||||
|
||||
if [ ! -f "AGENTS.md" ] && [ ! -f "CLAUDE.md" ]; then
|
||||
echo "Missing required Codex agent file: AGENTS.md or CLAUDE.md"
|
||||
missing=1
|
||||
fi
|
||||
|
||||
for file in "${required_files[@]}"; do
|
||||
if [ ! -f "$file" ]; then
|
||||
echo "Missing required Codex file: $file"
|
||||
|
||||
@@ -7,7 +7,13 @@ import {
|
||||
RefreshCwIcon,
|
||||
TrashIcon,
|
||||
} from '@modrinth/assets'
|
||||
import { Button, Card, injectNotificationManager, ProgressSpinner, Toggle } from '@modrinth/ui'
|
||||
import {
|
||||
Button,
|
||||
Card,
|
||||
injectNotificationManager,
|
||||
ProgressSpinner,
|
||||
Toggle,
|
||||
} from '@modrinth/ui'
|
||||
import { computed, onMounted, ref } from 'vue'
|
||||
|
||||
import type { ConnectedPack } from '@/helpers/connected-library'
|
||||
@@ -142,7 +148,9 @@ onMounted(refresh)
|
||||
<div class="meta">
|
||||
<span>Latest {{ pack.version }}</span>
|
||||
<span v-if="pack.installedVersionId">Installed {{ pack.installedVersionId }}</span>
|
||||
<span v-if="pack.lastChecked">Checked {{ new Date(pack.lastChecked).toLocaleString() }}</span>
|
||||
<span v-if="pack.lastChecked">
|
||||
Checked {{ new Date(pack.lastChecked).toLocaleString() }}
|
||||
</span>
|
||||
</div>
|
||||
<p v-if="pack.lastError" class="error">{{ pack.lastError }}</p>
|
||||
</div>
|
||||
|
||||
@@ -48,7 +48,9 @@ onUnmounted(() => {
|
||||
{ label: 'Saved', href: `/library/saved`, shown: false },
|
||||
]"
|
||||
/>
|
||||
<template v-if="route.path.startsWith('/library/connected') || (instances && instances.length > 0)">
|
||||
<template
|
||||
v-if="route.path.startsWith('/library/connected') || (instances && instances.length > 0)"
|
||||
>
|
||||
<RouterView v-if="route.path.startsWith('/library')" :instances="instances" />
|
||||
</template>
|
||||
<div v-else class="no-instance">
|
||||
|
||||
Reference in New Issue
Block a user