Skip to content

Commit faf8975

Browse files
ci: migrate update-mirrors workflow from LizardByte-infrastructure org
1 parent d31392d commit faf8975

3 files changed

Lines changed: 272 additions & 1 deletion

File tree

.github/workflows/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# LizardByte org workflows
22

33
Files prefixed with `__` are only used in the `.github` repository and not replicated to other repositories;
4-
however some of they may be called from other workflows.
4+
however, some of them may be called from other workflows.
55

66
Workflows that can be called from other repositories are prefixed with `__call-` and are not replicated
77
to other repositories. They also have an accompanying workflow named `_<name>.yml` that is replicated to the
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
---
2+
# This workflow updates mirrors in the LizardByte-infrastructure organization. The purpose is to avoid relying on
3+
# git repos not using GitHub.
4+
5+
name: Update mirrors
6+
permissions: {}
7+
8+
on:
9+
schedule:
10+
- cron: '0 20 * * *'
11+
workflow_dispatch:
12+
13+
jobs:
14+
update-mirrors:
15+
name: Update Mirrors (${{ matrix.source_repo }})
16+
runs-on: ubuntu-latest
17+
strategy:
18+
fail-fast: false
19+
max-parallel: 2
20+
matrix:
21+
include:
22+
- source_repo: "gitlab.freedesktop.org/xorg/font/util.git"
23+
target_repo: "github.com/LizardByte-infrastructure/font-util.git"
24+
- source_repo: "gitlab.freedesktop.org/libevdev/libevdev.git"
25+
target_repo: "github.com/LizardByte-infrastructure/libevdev.git"
26+
- source_repo: "gitlab.freedesktop.org/xorg/lib/libfontenc.git"
27+
target_repo: "github.com/LizardByte-infrastructure/libfontenc.git"
28+
- source_repo: "gitlab.gnome.org/GNOME/libnotify.git"
29+
target_repo: "github.com/LizardByte-infrastructure/libnotify.git"
30+
- source_repo: "gitlab.freedesktop.org/xorg/lib/libxcvt.git"
31+
target_repo: "github.com/LizardByte-infrastructure/libxcvt.git"
32+
- source_repo: "gitlab.freedesktop.org/xorg/lib/libxfont.git"
33+
target_repo: "github.com/LizardByte-infrastructure/libxfont.git"
34+
- source_repo: "gitlab.freedesktop.org/xorg/lib/libxmu.git"
35+
target_repo: "github.com/LizardByte-infrastructure/libxmu.git"
36+
- source_repo: "gitlab.com/eidheim/Simple-Web-Server.git"
37+
target_repo: "github.com/LizardByte-infrastructure/Simple-Web-Server.git"
38+
- source_repo: "gitlab.com/AOMediaCodec/SVT-AV1.git"
39+
target_repo: "github.com/LizardByte-infrastructure/SVT-AV1.git"
40+
- source_repo: "gitlab.freedesktop.org/wayland/wayland-protocols.git"
41+
target_repo: "github.com/LizardByte-infrastructure/wayland-protocols.git"
42+
- source_repo: "gitlab.freedesktop.org/wlroots/wlr-protocols.git"
43+
target_repo: "github.com/LizardByte-infrastructure/wlr-protocols.git"
44+
- source_repo: "code.videolan.org/videolan/x264.git"
45+
target_repo: "github.com/LizardByte-infrastructure/x264.git"
46+
- source_repo: "bitbucket.org/multicoreware/x265_git.git"
47+
target_repo: "github.com/LizardByte-infrastructure/x265_git.git"
48+
- source_repo: "gitlab.freedesktop.org/xorg/app/xauth.git"
49+
target_repo: "github.com/LizardByte-infrastructure/xauth.git"
50+
- source_repo: "gitlab.freedesktop.org/xorg/xserver.git"
51+
target_repo: "github.com/LizardByte-infrastructure/xserver.git"
52+
steps:
53+
- name: Clone source repo
54+
run: git clone --bare "https://${{ matrix.source_repo }}" .
55+
56+
- name: Push target repo
57+
env:
58+
GIT_TOKEN: ${{ secrets.GH_BOT_TOKEN }}
59+
run: git push --mirror "https://x-access-token:${GIT_TOKEN}@${{ matrix.target_repo }}"

profile/README.md

Lines changed: 212 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,218 @@ Thank you to all our supporters!
319319
## 📐 Developers
320320

321321
[![Dev Status](https://img.shields.io/github/issues/LizardByte-infrastructure/upptime-dev?style=for-the-badge&label=status-dev&logo=upptime)](https://status-dev.lizardbyte.dev/)
322+
[![Mirror Status](https://img.shields.io/github/actions/workflow/status/lizardbyte-infrastructure/.github/update-mirrors.yml.svg?branch=master&label=mirror%20status&logo=github&style=for-the-badge)](https://github.com/LizardByte-infrastructure/.github/actions/workflows/update-mirrors.yml?query=branch%3Amaster)
322323

323324
- [Contributing Docs](https://docs.lizardbyte.dev)
324325
- [Dashboard](https://app.lizardbyte.dev/dashboard)
326+
327+
<details>
328+
<summary>Mirrors</summary>
329+
<table>
330+
<thead>
331+
<tr>
332+
<th>Name</th>
333+
<th>Upstream Repo</th>
334+
<th>Mirror</th>
335+
</tr>
336+
</thead>
337+
<tbody>
338+
<tr>
339+
<td>font-util</td>
340+
<td>
341+
<a href="https://gitlab.freedesktop.org/xorg/font/util.git">
342+
<img alt="GitLab Last Commit" src="https://img.shields.io/gitlab/last-commit/xorg%2Ffont%2Futil?gitlab_url=https%3A%2F%2Fgitlab.freedesktop.org&style=for-the-badge&logo=gitlab">
343+
</a>
344+
</td>
345+
<td>
346+
<a href="https://github.com/LizardByte-infrastructure/font-util.git">
347+
<img alt="GitHub last commit" src="https://img.shields.io/github/last-commit/LizardByte-infrastructure/font-util?style=for-the-badge&logo=github">
348+
</a>
349+
</td>
350+
</tr>
351+
<tr>
352+
<td>libevdev</td>
353+
<td>
354+
<a href="https://gitlab.freedesktop.org/libevdev/libevdev.git">
355+
<img alt="GitLab Last Commit" src="https://img.shields.io/gitlab/last-commit/libevdev%2Flibevdev?gitlab_url=https%3A%2F%2Fgitlab.freedesktop.org&style=for-the-badge&logo=gitlab">
356+
</a>
357+
</td>
358+
<td>
359+
<a href="https://github.com/LizardByte-infrastructure/libevdev.git">
360+
<img alt="GitHub last commit" src="https://img.shields.io/github/last-commit/LizardByte-infrastructure/libevdev?style=for-the-badge&logo=github">
361+
</a>
362+
</td>
363+
</tr>
364+
<tr>
365+
<td>libfontenc</td>
366+
<td>
367+
<a href="https://gitlab.freedesktop.org/xorg/lib/libfontenc.git">
368+
<img alt="GitLab Last Commit" src="https://img.shields.io/gitlab/last-commit/xorg%2Flib%2Flibfontenc?gitlab_url=https%3A%2F%2Fgitlab.freedesktop.org&style=for-the-badge&logo=gitlab">
369+
</a>
370+
</td>
371+
<td>
372+
<a href="https://github.com/LizardByte-infrastructure/libfontenc.git">
373+
<img alt="GitHub last commit" src="https://img.shields.io/github/last-commit/LizardByte-infrastructure/libfontenc?style=for-the-badge&logo=github">
374+
</a>
375+
</td>
376+
</tr>
377+
<tr>
378+
<td>libnotify</td>
379+
<td>
380+
<a href="https://gitlab.gnome.org/GNOME/libnotify.git">
381+
<img alt="GitLab Last Commit" src="https://img.shields.io/gitlab/last-commit/GNOME%2Flibnotify?gitlab_url=https%3A%2F%2Fgitlab.gnome.org&style=for-the-badge&logo=gitlab">
382+
</a>
383+
</td>
384+
<td>
385+
<a href="https://github.com/LizardByte-infrastructure/libnotify.git">
386+
<img alt="GitHub last commit" src="https://img.shields.io/github/last-commit/LizardByte-infrastructure/libnotify?style=for-the-badge&logo=github">
387+
</a>
388+
</td>
389+
</tr>
390+
<tr>
391+
<td>libxcvt</td>
392+
<td>
393+
<a href="https://gitlab.freedesktop.org/xorg/lib/libxcvt.git">
394+
<img alt="GitLab Last Commit" src="https://img.shields.io/gitlab/last-commit/xorg%2Flib%2Flibxcvt?gitlab_url=https%3A%2F%2Fgitlab.freedesktop.org&style=for-the-badge&logo=gitlab">
395+
</a>
396+
</td>
397+
<td>
398+
<a href="https://github.com/LizardByte-infrastructure/libxcvt.git">
399+
<img alt="GitHub last commit" src="https://img.shields.io/github/last-commit/LizardByte-infrastructure/libxcvt?style=for-the-badge&logo=github">
400+
</a>
401+
</td>
402+
</tr>
403+
<tr>
404+
<td>libxfont</td>
405+
<td>
406+
<a href="https://gitlab.freedesktop.org/xorg/lib/libxfont.git">
407+
<img alt="GitLab Last Commit" src="https://img.shields.io/gitlab/last-commit/xorg%2Flib%2Flibxfont?gitlab_url=https%3A%2F%2Fgitlab.freedesktop.org&style=for-the-badge&logo=gitlab">
408+
</a>
409+
</td>
410+
<td>
411+
<a href="https://github.com/LizardByte-infrastructure/libxfont.git">
412+
<img alt="GitHub last commit" src="https://img.shields.io/github/last-commit/LizardByte-infrastructure/libxfont?style=for-the-badge&logo=github">
413+
</a>
414+
</td>
415+
</tr>
416+
<tr>
417+
<td>libxmu</td>
418+
<td>
419+
<a href="https://gitlab.freedesktop.org/xorg/lib/libxmu.git">
420+
<img alt="GitLab Last Commit" src="https://img.shields.io/gitlab/last-commit/xorg%2Flib%2Flibxmu?gitlab_url=https%3A%2F%2Fgitlab.freedesktop.org&style=for-the-badge&logo=gitlab">
421+
</a>
422+
</td>
423+
<td>
424+
<a href="https://github.com/LizardByte-infrastructure/libxmu.git">
425+
<img alt="GitHub last commit" src="https://img.shields.io/github/last-commit/LizardByte-infrastructure/libxmu?style=for-the-badge&logo=github">
426+
</a>
427+
</td>
428+
</tr>
429+
<tr>
430+
<td>Simple-Web-Server</td>
431+
<td>
432+
<a href="https://gitlab.com/eidheim/Simple-Web-Server.git">
433+
<img alt="GitLab Last Commit" src="https://img.shields.io/gitlab/last-commit/eidheim%2FSimple-Web-Server?gitlab_url=https%3A%2F%2Fgitlab.com&style=for-the-badge&logo=gitlab">
434+
</a>
435+
</td>
436+
<td>
437+
<a href="https://github.com/LizardByte-infrastructure/Simple-Web-Server.git">
438+
<img alt="GitHub last commit" src="https://img.shields.io/github/last-commit/LizardByte-infrastructure/Simple-Web-Server?style=for-the-badge&logo=github">
439+
</a>
440+
</td>
441+
</tr>
442+
<tr>
443+
<td>SVT-AV1</td>
444+
<td>
445+
<a href="https://gitlab.com/AOMediaCodec/SVT-AV1.git">
446+
<img alt="GitLab Last Commit" src="https://img.shields.io/gitlab/last-commit/AOMediaCodec%2FSVT-AV1?gitlab_url=https%3A%2F%2Fgitlab.com&style=for-the-badge&logo=gitlab">
447+
</a>
448+
</td>
449+
<td>
450+
<a href="https://github.com/LizardByte-infrastructure/SVT-AV1.git">
451+
<img alt="GitHub last commit" src="https://img.shields.io/github/last-commit/LizardByte-infrastructure/SVT-AV1?style=for-the-badge&logo=github">
452+
</a>
453+
</td>
454+
</tr>
455+
<tr>
456+
<td>wayland-protocols</td>
457+
<td>
458+
<a href="https://gitlab.freedesktop.org/wayland/wayland-protocols.git">
459+
<img alt="GitLab Last Commit" src="https://img.shields.io/gitlab/last-commit/wayland%2Fwayland-protocols?gitlab_url=https%3A%2F%2Fgitlab.freedesktop.org&style=for-the-badge&logo=gitlab">
460+
</a>
461+
</td>
462+
<td>
463+
<a href="https://github.com/LizardByte-infrastructure/wayland-protocols.git">
464+
<img alt="GitHub last commit" src="https://img.shields.io/github/last-commit/LizardByte-infrastructure/wayland-protocols?style=for-the-badge&logo=github">
465+
</a>
466+
</td>
467+
</tr>
468+
<tr>
469+
<td>wlr-protocols</td>
470+
<td>
471+
<a href="https://gitlab.freedesktop.org/wlroots/wlr-protocols.git">
472+
<img alt="GitLab Last Commit" src="https://img.shields.io/gitlab/last-commit/wlroots%2Fwlr-protocols?gitlab_url=https%3A%2F%2Fgitlab.freedesktop.org&style=for-the-badge&logo=gitlab">
473+
</a>
474+
</td>
475+
<td>
476+
<a href="https://github.com/LizardByte-infrastructure/wlr-protocols.git">
477+
<img alt="GitHub last commit" src="https://img.shields.io/github/last-commit/LizardByte-infrastructure/wlr-protocols?style=for-the-badge&logo=github">
478+
</a>
479+
</td>
480+
</tr>
481+
<tr>
482+
<td>x264</td>
483+
<td>
484+
<a href="https://code.videolan.org/videolan/x264.git">
485+
<img alt="GitLab Last Commit" src="https://img.shields.io/gitlab/last-commit/videolan%2Fx264?gitlab_url=https%3A%2F%2Fcode.videolan.org&style=for-the-badge&logo=gitlab">
486+
</a>
487+
</td>
488+
<td>
489+
<a href="https://github.com/LizardByte-infrastructure/x264.git">
490+
<img alt="GitHub last commit" src="https://img.shields.io/github/last-commit/LizardByte-infrastructure/x264?style=for-the-badge&logo=github">
491+
</a>
492+
</td>
493+
</tr>
494+
<tr>
495+
<td>x265_git</td>
496+
<td>
497+
<a href="https://bitbucket.org/multicoreware/x265_git.git">
498+
<img alt="BitBucket Last Commit" src="https://img.shields.io/bitbucket/last-commit/multicoreware/x265_git/master?style=for-the-badge&logo=bitbucket">
499+
</a>
500+
</td>
501+
<td>
502+
<a href="https://github.com/LizardByte-infrastructure/x265_git.git">
503+
<img alt="GitHub last commit" src="https://img.shields.io/github/last-commit/LizardByte-infrastructure/x265_git?style=for-the-badge&logo=github">
504+
</a>
505+
</td>
506+
</tr>
507+
<tr>
508+
<td>xauth</td>
509+
<td>
510+
<a href="https://gitlab.freedesktop.org/xorg/app/xauth.git">
511+
<img alt="GitLab Last Commit" src="https://img.shields.io/gitlab/last-commit/xorg%2Fapp%2Fxauth?gitlab_url=https%3A%2F%2Fgitlab.freedesktop.org&style=for-the-badge&logo=gitlab">
512+
</a>
513+
</td>
514+
<td>
515+
<a href="https://github.com/LizardByte-infrastructure/xauth.git">
516+
<img alt="GitHub last commit" src="https://img.shields.io/github/last-commit/LizardByte-infrastructure/xauth?style=for-the-badge&logo=github">
517+
</a>
518+
</td>
519+
</tr>
520+
<tr>
521+
<td>xserver</td>
522+
<td>
523+
<a href="https://gitlab.freedesktop.org/xorg/xserver.git">
524+
<img alt="GitLab Last Commit" src="https://img.shields.io/gitlab/last-commit/xorg%2Fxserver?gitlab_url=https%3A%2F%2Fgitlab.freedesktop.org&style=for-the-badge&logo=gitlab">
525+
</a>
526+
</td>
527+
<td>
528+
<a href="https://github.com/LizardByte-infrastructure/xserver.git">
529+
<img alt="GitHub last commit" src="https://img.shields.io/github/last-commit/LizardByte-infrastructure/xserver?style=for-the-badge&logo=github">
530+
</a>
531+
</td>
532+
</tr>
533+
</tbody>
534+
</table>
535+
536+
</details>

0 commit comments

Comments
 (0)