From faf8975631b3b6f2ba637838b97ea5fe195e79c8 Mon Sep 17 00:00:00 2001 From: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com> Date: Mon, 4 May 2026 19:02:01 -0400 Subject: [PATCH] ci: migrate update-mirrors workflow from LizardByte-infrastructure org --- .github/workflows/README.md | 2 +- .github/workflows/__update-mirrors.yml | 59 +++++++ profile/README.md | 212 +++++++++++++++++++++++++ 3 files changed, 272 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/__update-mirrors.yml diff --git a/.github/workflows/README.md b/.github/workflows/README.md index d9b4eaa9..683f272d 100644 --- a/.github/workflows/README.md +++ b/.github/workflows/README.md @@ -1,7 +1,7 @@ # LizardByte org workflows Files prefixed with `__` are only used in the `.github` repository and not replicated to other repositories; -however some of they may be called from other workflows. +however, some of them may be called from other workflows. Workflows that can be called from other repositories are prefixed with `__call-` and are not replicated to other repositories. They also have an accompanying workflow named `_.yml` that is replicated to the diff --git a/.github/workflows/__update-mirrors.yml b/.github/workflows/__update-mirrors.yml new file mode 100644 index 00000000..036fcdae --- /dev/null +++ b/.github/workflows/__update-mirrors.yml @@ -0,0 +1,59 @@ +--- +# This workflow updates mirrors in the LizardByte-infrastructure organization. The purpose is to avoid relying on +# git repos not using GitHub. + +name: Update mirrors +permissions: {} + +on: + schedule: + - cron: '0 20 * * *' + workflow_dispatch: + +jobs: + update-mirrors: + name: Update Mirrors (${{ matrix.source_repo }}) + runs-on: ubuntu-latest + strategy: + fail-fast: false + max-parallel: 2 + matrix: + include: + - source_repo: "gitlab.freedesktop.org/xorg/font/util.git" + target_repo: "github.com/LizardByte-infrastructure/font-util.git" + - source_repo: "gitlab.freedesktop.org/libevdev/libevdev.git" + target_repo: "github.com/LizardByte-infrastructure/libevdev.git" + - source_repo: "gitlab.freedesktop.org/xorg/lib/libfontenc.git" + target_repo: "github.com/LizardByte-infrastructure/libfontenc.git" + - source_repo: "gitlab.gnome.org/GNOME/libnotify.git" + target_repo: "github.com/LizardByte-infrastructure/libnotify.git" + - source_repo: "gitlab.freedesktop.org/xorg/lib/libxcvt.git" + target_repo: "github.com/LizardByte-infrastructure/libxcvt.git" + - source_repo: "gitlab.freedesktop.org/xorg/lib/libxfont.git" + target_repo: "github.com/LizardByte-infrastructure/libxfont.git" + - source_repo: "gitlab.freedesktop.org/xorg/lib/libxmu.git" + target_repo: "github.com/LizardByte-infrastructure/libxmu.git" + - source_repo: "gitlab.com/eidheim/Simple-Web-Server.git" + target_repo: "github.com/LizardByte-infrastructure/Simple-Web-Server.git" + - source_repo: "gitlab.com/AOMediaCodec/SVT-AV1.git" + target_repo: "github.com/LizardByte-infrastructure/SVT-AV1.git" + - source_repo: "gitlab.freedesktop.org/wayland/wayland-protocols.git" + target_repo: "github.com/LizardByte-infrastructure/wayland-protocols.git" + - source_repo: "gitlab.freedesktop.org/wlroots/wlr-protocols.git" + target_repo: "github.com/LizardByte-infrastructure/wlr-protocols.git" + - source_repo: "code.videolan.org/videolan/x264.git" + target_repo: "github.com/LizardByte-infrastructure/x264.git" + - source_repo: "bitbucket.org/multicoreware/x265_git.git" + target_repo: "github.com/LizardByte-infrastructure/x265_git.git" + - source_repo: "gitlab.freedesktop.org/xorg/app/xauth.git" + target_repo: "github.com/LizardByte-infrastructure/xauth.git" + - source_repo: "gitlab.freedesktop.org/xorg/xserver.git" + target_repo: "github.com/LizardByte-infrastructure/xserver.git" + steps: + - name: Clone source repo + run: git clone --bare "https://${{ matrix.source_repo }}" . + + - name: Push target repo + env: + GIT_TOKEN: ${{ secrets.GH_BOT_TOKEN }} + run: git push --mirror "https://x-access-token:${GIT_TOKEN}@${{ matrix.target_repo }}" diff --git a/profile/README.md b/profile/README.md index 23282771..33e01bc0 100644 --- a/profile/README.md +++ b/profile/README.md @@ -319,6 +319,218 @@ Thank you to all our supporters! ## 📐 Developers [![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/) +[![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) - [Contributing Docs](https://docs.lizardbyte.dev) - [Dashboard](https://app.lizardbyte.dev/dashboard) + +
+ Mirrors + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameUpstream RepoMirror
font-util + + GitLab Last Commit + + + + GitHub last commit + +
libevdev + + GitLab Last Commit + + + + GitHub last commit + +
libfontenc + + GitLab Last Commit + + + + GitHub last commit + +
libnotify + + GitLab Last Commit + + + + GitHub last commit + +
libxcvt + + GitLab Last Commit + + + + GitHub last commit + +
libxfont + + GitLab Last Commit + + + + GitHub last commit + +
libxmu + + GitLab Last Commit + + + + GitHub last commit + +
Simple-Web-Server + + GitLab Last Commit + + + + GitHub last commit + +
SVT-AV1 + + GitLab Last Commit + + + + GitHub last commit + +
wayland-protocols + + GitLab Last Commit + + + + GitHub last commit + +
wlr-protocols + + GitLab Last Commit + + + + GitHub last commit + +
x264 + + GitLab Last Commit + + + + GitHub last commit + +
x265_git + + BitBucket Last Commit + + + + GitHub last commit + +
xauth + + GitLab Last Commit + + + + GitHub last commit + +
xserver + + GitLab Last Commit + + + + GitHub last commit + +
+ +