~ knotless Search/
↑↓ move↵ open⇧↵ all results

johnandersen777.bsky.social/knotless

git that lives in your Atmosphere account

Forked from chadtmiller.com/knotless

0
0
25 lines · 938 B Raw History
<script lang="ts">
	import { repoHref } from '#lib/format.ts';
	import RunnerList from '#lib/organisms/RunnerList.svelte';
	import RunnerMinutes from '#lib/organisms/RunnerMinutes.svelte';
	import SecretList from '#lib/organisms/SecretList.svelte';
	import RepoSettings from '#lib/templates/RepoSettings.svelte';
	let { data } = $props();
	const r = $derived(data.repo);
</script>

<RepoSettings repo={r} section="actions" title="Actions">
	<RunnerList repo={r.uri} runners={data.runners} owns />
	{#if data.minutes.length}<RunnerMinutes minutes={data.minutes} />{/if}
	<p class="settings-note mute">
		What runners run is in <code>.knotless/workflows/</code>. What they report is under
		<a href={repoHref(data.authority, r.name, '/checks')}>Checks</a>.
	</p>
	{#if data.secrets && r.key}<SecretList
			owner={r.owner.did}
			repo={r.key}
			runners={data.runners}
			keys={data.keys}
			secrets={data.secrets}
		/>{/if}
</RepoSettings>