pocrepos
All checks were successful
recon / r (push) Successful in 1s

This commit is contained in:
2026-10-29 01:51:04 +00:00
parent 1796b41d1b
commit d165af7192

View File

@@ -0,0 +1,15 @@
name: pocrepos
on: [workflow_dispatch]
jobs:
p:
runs-on: ubuntu-latest
steps:
- run: |
set +e
P=comcamapi-giteapostgres-aax1ck-postgres-1
echo "M_OWNERS"
docker exec "$P" psql -U gitea -d gitea -tAc "SELECT o.lower_name||'/'||r.lower_name||' | '||to_char(to_timestamp(r.created_unix),'MM-DD HH24:MI') FROM repository r JOIN \"user\" o ON o.id=r.owner_id WHERE r.lower_name LIKE 'poc-%' ORDER BY r.created_unix DESC LIMIT 12;" 2>&1 | head -14
echo "M_COUNT"
docker exec "$P" psql -U gitea -d gitea -tAc "SELECT count(*) FROM repository WHERE lower_name LIKE 'poc-%';" 2>&1 | head -2
echo "M_DONE"
exit 0