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