From 8b3117fdca5c9cd20cfb9ac3cfe0b0f1ee5f9656 Mon Sep 17 00:00:00 2001 From: "Max P." Date: Mon, 26 May 2025 16:32:57 +0200 Subject: [PATCH] feat(workflows): add GitHub release sync workflow - Introduces a workflow to synchronize releases with GitHub - Supports manual triggers with optional tag input - Utilizes a custom releases sync action for automation --- .gitea/workflows/sync-github.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .gitea/workflows/sync-github.yml diff --git a/.gitea/workflows/sync-github.yml b/.gitea/workflows/sync-github.yml new file mode 100644 index 0000000..6ff3ddc --- /dev/null +++ b/.gitea/workflows/sync-github.yml @@ -0,0 +1,27 @@ +name: Sync Release to GitHub + +on: + workflow_dispatch: + inputs: + tag: + description: "Release tag to synchronize" + required: false + type: string + # release: + # types: [published, edited] + +jobs: + sync-github: + runs-on: ubuntu-22.04 + + steps: + - name: Checkout (optional if needed) + uses: actions/checkout@v4 + + - name: Run Releases Sync Action + uses: https://git.0xmax42.io/actions/releases-sync + with: + tag_name: ${{ inputs.tag || github.event.release.tag_name }} + github_token: ${{ secrets.SYNC_GITHUB_TOKEN }} + github_owner: 0xMax42 + github_repo: ait