forked from team/site
add readonly token to gitea endpoint
This commit is contained in:
parent
22f7876659
commit
f75e6b5977
|
@ -96,7 +96,9 @@ $parser = wiki::factory(true);
|
|||
<div class="col-md-6">
|
||||
<h2 id="projects">~projects~</h2>
|
||||
|
||||
<?php foreach (json_decode(file_get_contents("https://tildegit.org/api/v1/orgs/team/repos?limit=100")) ?? [] as $repo):
|
||||
<?php // readonly token, gitea changed perms on this endpoint
|
||||
$repo_url = "https://tildegit.org/api/v1/orgs/team/repos?limit=100&token=448c748ee0082f46ccf246daf759874ca5d067cb";
|
||||
foreach (json_decode(file_get_contents($repo_url)) ?? [] as $repo):
|
||||
if ($repo->archived) continue; ?>
|
||||
|
||||
<div class="list-group">
|
||||
|
|
Loading…
Reference in New Issue