From 2c25a16402cec5e4e98ce5cba4ccf61fa93fb8bf Mon Sep 17 00:00:00 2001 From: Ashwin Kumar Sivakumar Date: Thu, 11 Jun 2026 18:19:10 +0530 Subject: [PATCH] fix: use existing forgejo mirror secrets --- .github/workflows/sync-to-forgejo.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/sync-to-forgejo.yml b/.github/workflows/sync-to-forgejo.yml index 77dc4e5..49bb160 100644 --- a/.github/workflows/sync-to-forgejo.yml +++ b/.github/workflows/sync-to-forgejo.yml @@ -18,8 +18,8 @@ jobs: - name: Sync to Forgejo env: - FORGEJO_TOKEN: ${{ secrets.FORGEJO_SECRET }} - FORGEJO_OWNER: ${{ secrets.FORGEJO_OWNER || 'ashwin' }} + FORGEJO_TOKEN: ${{ secrets.FORGEJO_SECRET || secrets.GITEA_SECRET }} + FORGEJO_OWNER: ${{ secrets.FORGEJO_OWNER || secrets.FORGEJO_USERNAME || secrets.GITEA_USERNAME || 'ashwin' }} REPO: ${{ github.event.repository.name }} BRANCH: ${{ github.ref_name }} run: |