From 28125d5ccf09eb1c035a2766eff98cc42cddfea5 Mon Sep 17 00:00:00 2001 From: Sultan Luchezarniy Date: Mon, 9 Feb 2026 15:08:55 +0300 Subject: [PATCH 1/2] Switch pull request labeler to ubuntu-slim image --- .github/workflows/labeler.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 145743e6d00..99ad75d0834 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -11,7 +11,7 @@ permissions: jobs: labeler: - runs-on: ubuntu-latest + runs-on: ubuntu-slim steps: - name: on new pull request if: ${{ github.event_name == 'pull_request_target' && github.event.pull_request.opened == true || github.event.pull_request.reopened == true }} From e583ec0eaedbe1df94dcf5569f36767fd786349d Mon Sep 17 00:00:00 2001 From: Xottab-DUTY Date: Thu, 19 Feb 2026 16:06:52 +0300 Subject: [PATCH 2/2] Switch mirror workflow to ubuntu-slim image This also switches the workflow to another mirroring action (https://github.com/marketplace/actions/mirror-to) because previous doesn't work with ubuntu-slim currently. --- .github/workflows/mirror.yml | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml index 1311adf8f3f..8095ee84a8b 100644 --- a/.github/workflows/mirror.yml +++ b/.github/workflows/mirror.yml @@ -5,27 +5,33 @@ on: [push, delete, workflow_dispatch] jobs: mirror: if: github.repository == 'OpenXRay/xray-16' - runs-on: ubuntu-latest + runs-on: ubuntu-slim steps: - uses: actions/checkout@v6 with: fetch-depth: 0 - name: Bitbucket.org - uses: pixta-dev/repository-mirroring-action@v1.1.1 + uses: Xottab-DUTY/git-mirror@v1.0.0 with: - target_repo_url: git@bitbucket.org:OpenXRay/xray-16.git - ssh_private_key: ${{ secrets.RABOTYAGA_BITBUCKET_PRIVATE_SSH_KEY }} + target: git@bitbucket.org:OpenXRay/xray-16.git + password: ${{ secrets.RABOTYAGA_BITBUCKET_PRIVATE_SSH_KEY }} + push_args: "--tags --prune --force" + refspec: "refs/remotes/origin/*:refs/heads/*" - name: gitflic.ru - uses: pixta-dev/repository-mirroring-action@v1.1.1 + uses: Xottab-DUTY/git-mirror@v1.0.0 with: - target_repo_url: git@gitflic.ru:openxray/xray-16.git - ssh_private_key: ${{ secrets.GITFLIC_PRIVATE_SSH_KEY }} + target: git@gitflic.ru:openxray/xray-16.git + password: ${{ secrets.GITFLIC_PRIVATE_SSH_KEY }} + push_args: "--tags --prune --force" + refspec: "refs/remotes/origin/*:refs/heads/*" - name: abf.io continue-on-error: true - uses: pixta-dev/repository-mirroring-action@v1.1.1 + uses: Xottab-DUTY/git-mirror@v1.0.0 with: - target_repo_url: git@abf.io:openxray/xray-16.git - ssh_private_key: ${{ secrets.ABF_IO_PRIVATE_SSH_KEY }} + target: git@abf.io:openxray/xray-16.git + password: ${{ secrets.ABF_IO_PRIVATE_SSH_KEY }} + push_args: "--tags --prune --force" + refspec: "refs/remotes/origin/*:refs/heads/*"